187 Commits

Author SHA1 Message Date
Billy Chan
734608471c
WIP 2021-10-20 18:54:08 +08:00
Billy Chan
d525c710ce
Merge remote-tracking branch 'origin/master' into active-enum 2021-10-20 18:43:39 +08:00
Billy Chan
868a469de0
Test integer enum 2021-10-20 18:02:23 +08:00
Billy Chan
32f82a0c9b Test self referencing relation 2021-10-20 16:38:10 +08:00
Billy Chan
b1e10aec86
Refactoring 2021-10-20 12:23:55 +08:00
Billy Chan
18f37150d7
Fixup 2021-10-20 10:49:26 +08:00
Billy Chan
8627c8d961
Draft ActiveEnum 2021-10-19 19:08:02 +08:00
Chris Tsang
55a4f32d5e
Merge pull request #248 from SeaQL/transaction-am-behavior-tests
Transaction & active model behavior tests
2021-10-15 23:43:47 +08:00
Billy Chan
351a78c784
Try as_ref 2021-10-15 22:48:49 +08:00
Billy Chan
01eff84ce8 Join with table alias 2021-10-15 22:28:39 +08:00
Billy Chan
23155dced1
Fixup 2021-10-15 18:04:49 +08:00
Billy Chan
7c18e19f56
Fixup 2021-10-15 17:52:46 +08:00
Billy Chan
13f5792f86
Test transaction 2021-10-15 17:43:40 +08:00
Billy Chan
cc96bb783c
Test ActiveModelBehavior 2021-10-15 17:43:40 +08:00
Chris Tsang
620972b724 Fixup 2021-10-15 16:10:07 +08:00
Chris Tsang
668fb64224 Refactor test suite 2021-10-15 15:46:25 +08:00
Billy Chan
b48f1251b0
Add #244 as test cases 2021-10-15 12:38:17 +08:00
Chris Tsang
75882b34cb Transaction with BEGIN 2021-10-14 18:33:13 +08:00
Chris Tsang
9abfdf4838 Test case for #244 2021-10-14 15:53:46 +08:00
Billy Chan
5339696da2
Merge branch 'master' into active-model-behavior 2021-10-12 20:37:00 +08:00
Chris Tsang
7bc6477091 Merge branch 'master' into transaction-3 2021-10-12 14:24:35 +08:00
Billy Chan
12800468b1
Test nested transaction 2021-10-11 23:02:32 +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
Billy Chan
8caed80fd7
Merge branch 'master' into last-insert-id 2021-10-06 22:38:43 +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
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
Chris Tsang
e7b822c65d cargo fmt 2021-10-04 11:44:02 +08:00
Marco Napetti
02ebc9745c Transaction 3 2021-10-04 11:39:16 +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
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
11781082ba
Throw error if none of the db rows are affected 2021-09-30 10:31:21 +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
89806ef522
Add test cases 2021-09-28 14:27:30 +08:00
Billy Chan
9efaeeba8b
Update test cases 2021-09-27 18:02:20 +08:00
Billy Chan
9c8f5aa93d
More test cases 2021-09-27 10:36:32 +08:00
Billy Chan
8dfbbc8385 Fix clippy warnings 2021-09-20 18:30:31 +08:00
Billy Chan
20123ef8cd Test parallel CRUD 2021-09-20 18:30:31 +08:00
Chris Tsang
84594114dc Readme 2021-09-18 20:15:20 +08:00
Chris Tsang
3001fca466 Refactor basic test 2021-09-18 16:37:07 +08:00
Chris Tsang
0a19db6977 Fix SQLite test suite 2021-09-18 16:16:33 +08:00
Chris Tsang
68787d1412 Refactor uuid test 2021-09-18 15:47:59 +08:00
Chris Tsang
558cf5904a Test suite: drop table if exists, instead of create table if not exists 2021-09-18 15:40:47 +08:00
Chris Tsang
fc769a89df Refactor timestamp test 2021-09-18 15:17:23 +08:00