828 Commits

Author SHA1 Message Date
Chris Tsang
af93ea44ad Fix clippy warnings 2021-10-04 12:11:19 +08:00
Billy Chan
3955abb14c
Merge remote-tracking branch 'origin/master' into last-insert-id 2021-10-04 11:51:20 +08:00
Billy Chan
01fecbc405
Merge remote-tracking branch 'origin/master' into active-model-behavior 2021-10-04 11:47:38 +08:00
Billy Chan
08595c9729
Try DbErr::Custom 2021-10-04 11:45:24 +08:00
Chris Tsang
e7b822c65d cargo fmt 2021-10-04 11:44:02 +08:00
Chris Tsang
01a5c1c6dd Fix build errors 2021-10-04 11:43:21 +08:00
Marco Napetti
02ebc9745c Transaction 3 2021-10-04 11:39:16 +08:00
Billy Chan
91fb97c12a
Update::many() will not raise DbErr::RecordNotFound error 2021-10-04 11:18:42 +08:00
Chris Tsang
ea88d73e84 Cleanup Readme 2021-10-02 14:17:40 +08:00
Chris Tsang
7c82670d12 Doc 2021-10-02 01:17:32 +08:00
Chris Tsang
a0be9239bd Doc 2021-10-01 23:41:12 +08:00
Chris Tsang
7163f51788 Readme 2021-10-01 21:41:30 +08:00
Chris Tsang
656e503a52 Doc 2021-10-01 13:33:05 +08:00
Chris Tsang
0c05b4c34e Improve example for Select::into_values 2021-10-01 13:24:11 +08:00
Chris Tsang
a6dfb417e2
Merge pull request #207 from SeaQL/naive-date
Support `chrono::NaiveDate` & `chrono::NaiveTime`
2021-09-30 22:52: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
5497810afb
Remove unnecessary trait bounds 2021-09-30 11:49:27 +08:00
Billy Chan
3123a9d129
Fix git merge conflict 2021-09-30 11:40:27 +08:00
Billy Chan
a241bc9d7b
Merge branch 'master' into last-insert-id 2021-09-30 11:28:29 +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
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
ef1eb577b7
Update ActiveModelBehavior API 2021-09-30 10:31:58 +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
Billy Chan
97b95bf612
cargo fmt 2021-09-28 18:23:42 +08:00
Billy Chan
ba66de16b6
Merge remote-tracking branch 'origin/master' into last-insert-id 2021-09-28 18:23:30 +08:00
Billy Chan
a1a7a98a5c
Set SqlxSqlit pool max connection to 1 2021-09-28 18:21:00 +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
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
Billy Chan
9bd537efe3
Fixup 2021-09-27 18:10:45 +08:00
Billy Chan
f79a417150
Remove ValueType: Default 2021-09-27 18:01:38 +08:00
Muhannad Alrusayni
7742eb2cec Impl TryGetableMany for (T) 2021-09-27 12:47:14 +03: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