1250 Commits

Author SHA1 Message Date
Billy Chan
f3f24320e9
Add test cases 2021-10-05 10:23:45 +08:00
Billy Chan
19a572b721
Escape rust keywords with r# raw identifier 2021-10-04 23:30:20 +08:00
Chris Tsang
8d0ba28b7e Fix clippy warning 2021-10-04 22:40:17 +08:00
Chris Tsang
df4df87d09 Rename Transaction -> MockTransaction 2021-10-04 21:37:12 +08:00
Chris Tsang
632290469b Fixup 2021-10-04 21:24:37 +08:00
Chris Tsang
6b98a6f395 Move code 2021-10-04 20:40:44 +08:00
Chris Tsang
4fd5d56dbf cargo +nightly fmt 2021-10-04 13:13:36 +08:00
baoyachi. Aka Rust Hairy crabs
b74b1f343f Add debug_query and debug_query_stmt macro (#189) 2021-10-04 13:12:18 +08:00
Chris Tsang
af6665fe4f Fix clippy warnings 2021-10-04 12:27:16 +08:00
Billy Chan
35b8eb9a4d
ActiveValue::take() & ActiveValue::into_value() without unwrap() 2021-10-04 12:17:31 +08:00
Chris Tsang
af93ea44ad Fix clippy warnings 2021-10-04 12:11:19 +08:00
Chris Tsang
ab8fec21b3 Fix build errors 2021-10-04 12:09:50 +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
700a0206e7
Merge pull request #219 from Ka1wa/feature/cli-generate-entity-filter-tables
Add tables option to CLI generate entity
2021-10-04 10:35:54 +08:00
Jordy Ruiter
ba96917a18 Add tables option to CLI generate entity 2021-10-03 15:45:07 +09:00
Chris Tsang
7274f5c624 Fix test failure 2021-10-02 15:16:43 +08:00
Chris Tsang
5c0a5be9ad Readme 2021-10-02 14:20:49 +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
d79419f0d3 0.2.4 2021-10-01 12:37:51 +08:00
Chris Tsang
dc1bf2c066 sea-orm-macros 0.2.4 2021-10-01 12:37:48 +08:00
Chris Tsang
ab921f0d9b
Merge pull request #190 from SeaQL/ss/actix-web-4-beta
Port the Actix example to Actix 4 Beta
2021-10-01 11:24:08 +08:00
Chris Tsang
f0dda202b2 Add to workflow 2021-10-01 11:15:38 +08:00
Chris Tsang
399715521e Rename folder 2021-10-01 11:14:59 +08:00
Chris Tsang
50a8ae41c0 Tweaks 2021-10-01 11:11:48 +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
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
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