932 Commits

Author SHA1 Message Date
Chris Tsang
f0aea3bf10 sea-orm-macros 0.2.6 2021-10-09 23:17:30 +08:00
Chris Tsang
0eee2206ba sea-orm-cli 0.2.6 2021-10-09 23:15:03 +08:00
Chris Tsang
7c8e766e8b sea-orm-codegen 0.2.6 2021-10-09 23:15:03 +08:00
Chris Tsang
91efa1fae2 Test streaming in transaction 2021-10-09 21:45:25 +08:00
Chris Tsang
018f7dd19f Streaming for MockConnection 2021-10-09 21:14:24 +08:00
Chris Tsang
12a8e5c8e9 Readme 2021-10-09 14:40:12 +08:00
Chris Tsang
c24d7704d9 Move examples #232 2021-10-09 14:38:43 +08:00
Billy Chan
23215c8dd5
fix clippy warnings 2021-10-08 18:22:25 +08:00
Billy Chan
2f90207d64
Remove PrimaryKeyValue trait 2021-10-08 18:10:19 +08:00
Chris Tsang
eb87b7c2ce Test case 2021-10-08 16:56:36 +08:00
Billy Chan
ade06b4240
Merge branch 'master' into last-insert-id 2021-10-08 15:43:00 +08:00
Chris Tsang
a2ec6cd351 Rename MockTransaction -> Transaction 2021-10-07 18:00:11 +08:00
Chris Tsang
51b30ee837
Merge branch 'master' into transaction-3 2021-10-07 17:21:59 +08:00
Chris Tsang
30b90076ae Merge pull request #211 from SeaQL/error-no-record-updated
Throw error if none of the db rows are affected
2021-10-07 16:59:42 +08:00
Chris Tsang
cab0f6ba6e Merge pull request #224 from SeaQL/rust-keywords
Escape rust keywords with `r#` raw identifier
2021-10-07 16:36:56 +08:00
Billy Chan
a9f9599a4d Codegen date & time column Rust type mapping 2021-10-07 16:36:47 +08:00
Chris Tsang
98e48cf2b2
Merge pull request #224 from SeaQL/rust-keywords
Escape rust keywords with `r#` raw identifier
2021-10-07 16:35:50 +08:00
Billy Chan
8caed80fd7
Merge branch 'master' into last-insert-id 2021-10-06 22:38:43 +08:00
Billy Chan
d6b53abd95
Handle crate, Self and self rust keywords 2021-10-06 22:24:52 +08:00
Billy Chan
a970e43f50
Merge branch 'master' into rust-keywords 2021-10-06 22:04:55 +08:00
Billy Chan
18c245c72d Codegen date & time column Rust type mapping 2021-10-06 21:25:37 +08:00
Chris Tsang
37d1e96a6f Merge branch '0.2.x' 2021-10-06 19:00:25 +08:00
Chris Tsang
a17d5452f8 0.2.5 2021-10-06 18:49:55 +08:00
Chris Tsang
a1e6e002d1 sea-orm-macros 0.2.5 2021-10-06 18:48:12 +08:00
Chris Tsang
e229651eae sea-orm-cli 0.2.5 2021-10-06 18:44:24 +08:00
Chris Tsang
a2767eb6fe sea-orm-codegen 0.2.5 2021-10-06 18:43:43 +08:00
Chris Tsang
97235df059 Test 2021-10-06 18:29:47 +08:00
Billy Chan
5d2934a87f Bind null custom types 2021-10-06 18:26:31 +08:00
Billy Chan
8990261d70 Bind null custom types 2021-10-06 18:26:03 +08:00
Chris Tsang
125ee40161
Merge pull request #211 from SeaQL/error-no-record-updated
Throw error if none of the db rows are affected
2021-10-05 22:01:10 +08:00
Chris Tsang
c7532bcc08 Basic MockTransaction implementation
TODO: nested transaction
2021-10-05 19:33:41 +08:00
Billy Chan
7779ac886e
Escape rust keyword on codegen 2021-10-05 10:49:06 +08:00
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