853 Commits

Author SHA1 Message Date
Chris Tsang
cb5445b035 Bump sea-query to 0.16.5 2021-09-30 22:42:31 +08:00
Chris Tsang
ca296bc941 Feature guard macros 2021-09-30 22:25:31 +08:00
Chris Tsang
fcd969e57c Use DeriveIden to replace ToString 2021-09-30 22:05:23 +08:00
Chris Tsang
5728ac4329
Merge pull request #208 from MuhannadAlrusayni/master
Support feteching T, (T, U), (T, U, P)..etc where they impl TryGetableMany
2021-09-30 21:51:25 +08:00
Chris Tsang
d4d262584c
Merge pull request #209 from SeaQL/rename-col-name-n-variant
Rename column name & column enum variant
2021-09-30 19:30:05 +08:00
Chris Tsang
602690e9a7 Remove unneeded 2021-09-30 19:16:55 +08:00
Chris Tsang
33f0cfaa77 Readme 2021-09-30 18:27:05 +08:00
Billy Chan
f4218dec56
Test mock connection 2021-09-30 12:47:01 +08:00
Billy Chan
b716c9ed57
cargo fmt 2021-09-30 11:19:26 +08:00
Billy Chan
088bfd01e7
Add unit tests 2021-09-30 11:19:17 +08:00
Billy Chan
54150382b9
Merge branch 'master' into rename-col-name-n-variant 2021-09-30 10:48:43 +08:00
Billy Chan
05b370434b
Without fixing SQLx source code 2021-09-30 10:45:59 +08:00
Billy Chan
d9f63e8d17
Fixup 2021-09-30 10:34:38 +08:00
Billy Chan
02066cef6e
Support chrono::NaiveTime 2021-09-30 10:34:38 +08:00
Billy Chan
f7e96b3d72
Support chrono::NaiveDate 2021-09-30 10:34:38 +08:00
Billy Chan
966f7ff9a8
Fix clippy warning 2021-09-30 10:31:21 +08:00
Billy Chan
11781082ba
Throw error if none of the db rows are affected 2021-09-30 10:31:21 +08:00
Chris Tsang
beb3ec62dc Add example usage of Condition
https://github.com/SeaQL/sea-query/issues/144
2021-09-29 13:54:36 +08:00
Chris Tsang
689e0075b7 Docs 2021-09-28 15:16:30 +08:00
Chris Tsang
d37f0f3021 Readme 2021-09-28 14:38:55 +08:00
Billy Chan
89806ef522
Add test cases 2021-09-28 14:27:30 +08:00
Billy Chan
88776a28ed
Rename column name & column enum variant 2021-09-28 14:27:19 +08:00
Chris Tsang
85eadd38d2 Change mock connector behavior to mock Postgres regardless of feature flags 2021-09-28 13:57:44 +08:00
Chris Tsang
0cfa8784a3
Merge pull request #182 from SeaQL/find-linked-join-alias
`find_linked` join with table alias
2021-09-28 13:19:49 +08:00
Muhannad Alrusayni
5379a23630 Add find_by_statement for T: TryGetableMany
Add `into_values` for `Select<T>`
2021-09-28 00:10:13 +03:00
Muhannad Alrusayni
7742eb2cec Impl TryGetableMany for (T) 2021-09-27 12:47:14 +03:00
Chris Tsang
c12e0cd44e
Merge pull request #202 from baoyachi/adapter_url_scheme
Adapter postgres url scheme
2021-09-27 17:08:17 +08:00
baoyachi
8d69b034a0 'url_starts_with' replace with 'is_prefix_of' method 2021-09-27 16:45:25 +08:00
baoyachi
d78a067b2d 'url_starts_with' replace with 'is_prefix_of' method 2021-09-27 16:41:47 +08:00
baoyachi
ae9e1c48ce make url_starts_with access level 2021-09-27 12:34:53 +08:00
baoyachi
203a0d603a fix build error 2021-09-27 12:19:36 +08:00
Billy Chan
e558dc8584
Move impl Linked to entity_linked module 2021-09-27 12:13:57 +08:00
baoyachi
1cf5cec1c5 refactor code 2021-09-27 12:13:06 +08:00
baoyachi
2ccc8c527a cargo fmt 2021-09-27 11:49:20 +08:00
baoyachi
86f2d7e327 fix #200
* adapter postgrel url scheme
* refactor DbScheme
2021-09-27 11:45:54 +08:00
Billy Chan
a4f2e3c2a8
Test cases with more level of joins 2021-09-27 11:45:19 +08:00
Billy Chan
9c8f5aa93d
More test cases 2021-09-27 10:36:32 +08:00
Billy Chan
ee504e7d9f
find_linked join with table alias 2021-09-27 10:36:32 +08:00
Chris Tsang
1eb0e5cbb2 Fix doc tests 2021-09-26 22:36:20 +08:00
Chris Tsang
7cbe5b4b9f sea-orm-cli 0.2.4 2021-09-26 16:44:55 +08:00
Chris Tsang
12affaf0c1 sea-orm-codegen 0.2.4 2021-09-26 16:44:55 +08:00
Chris Tsang
97b7db1773 0.2.4 Prerelease 2021-09-26 16:38:56 +08:00
Chris Tsang
f22d93ce21 Unit test for DeriveEntityModel 2021-09-26 16:33:04 +08:00
Chris Tsang
be01782ac7
Merge pull request #193 from SeaQL/codegen-col-unique-keys
Codegen parse column unique key from index
2021-09-26 16:12:50 +08:00
Chris Tsang
5d50ca922c Restore cargo 2021-09-26 16:08:59 +08:00
Chris Tsang
3c608ad9c3 Bump sea-query 2021-09-26 16:07:06 +08:00
Billy Chan
6638a2262c Codegen classify ordinary relation wrongly as conjunct relation (#186) 2021-09-25 18:32:50 +08:00
Billy Chan
360436ceac
Codegen compact-format generate unique attribute 2021-09-24 15:45:22 +08:00
Billy Chan
37b36eb101
Merge branch 'master' into codegen-col-unique-keys 2021-09-24 15:34:45 +08:00
Billy Chan
06a26ace2e
Codegen parse column unique key from index 2021-09-24 15:30:41 +08:00