19 Commits

Author SHA1 Message Date
Chris Tsang
b3e4d1c1cf RecordNotFound -> RecordNotUpdated 2023-01-25 15:43:44 +08:00
Billy Chan
69eb4b8ea8
Refactor the use of deprecated chrono methods (#1312) 2022-12-16 18:14:25 +08:00
Billy Chan
c504f42cb3
Fixing and testing into_json of various field types (#539)
* Fixing and testing `into_json` of various types

* Support `into_json` for UUID

* Testing `into_json` for UUID

* Fixup
2022-03-24 22:38:45 +08:00
Billy Chan
5104cd3573
Insert & Update Return Model (#339)
* Update insert & update API

* Update test cases

* Update README

* Fix clippy warnings

* Fixup

* Fixup
2021-12-18 14:30:10 +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
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
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
Billy Chan
3955abb14c
Merge remote-tracking branch 'origin/master' into last-insert-id 2021-10-04 11:51:20 +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
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
11781082ba
Throw error if none of the db rows are affected 2021-09-30 10:31:21 +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
Chris Tsang
68787d1412 Refactor uuid test 2021-09-18 15:47:59 +08:00