30 Commits

Author SHA1 Message Date
Billy Chan
2f90207d64
Remove PrimaryKeyValue trait 2021-10-08 18:10:19 +08:00
Billy Chan
5497810afb
Remove unnecessary trait bounds 2021-09-30 11:49:27 +08:00
Billy Chan
ba66de16b6
Merge remote-tracking branch 'origin/master' into last-insert-id 2021-09-28 18:23: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
Billy Chan
f79a417150
Remove ValueType: Default 2021-09-27 18:01:38 +08:00
Chris Tsang
bfa66915e3 Update Entity::update example 2021-09-21 11:10:54 +08:00
Chris Tsang
b1b5f95c1d Unit tests 2021-09-17 22:22:10 +08:00
Billy Chan
f4d1a52791 Change update behavior, add ActiveModel insert & update 2021-09-10 12:56:41 +08:00
Billy Chan
a5b230f67c Add back panics 2021-09-06 22:30:51 +08:00
Billy Chan
26cd0846d2 Remove generics on find_by_id 2021-09-06 22:30:51 +08:00
Billy Chan
5060890888
cargo +nightly fmt 2021-09-03 14:56:58 +08:00
Billy Chan
5fbc7b146a
Refactoring & Testing 2021-08-31 18:31:01 +08:00
Billy Chan
caa85d7fba Try typed mull value SeaQL/sea-query#107 2021-08-21 22:56:48 +08:00
Billy Chan
09c328bb0d Use smol async-runtime and require one of the supported runtime for integration tests 2021-08-21 22:56:48 +08:00
Billy Chan
2cfaa34a33 Test against all supported runtime 2021-08-21 22:56:48 +08:00
Billy Chan
b7408dda30 Support schema prefix when specifying table name 2021-08-14 18:43:07 +08:00
Chris Tsang
c1ac7baae9 cargo fmt 2021-08-08 16:13:27 +08:00
Chris Tsang
31bee96798 Use sea-strum 2021-08-08 02:17:33 +08:00
Chris Tsang
9334d4ff5d DbBackend alias 2021-07-17 22:03:41 +08:00
Chris Tsang
ca9aa01f6b Docs 2021-07-16 22:32:42 +08:00
Billy Chan
e83cc63e3a Replacing Syntax & *BuilderBackend with DatabaseBackend 2021-07-16 00:28:03 +08:00
Billy Chan
d59ee1e298 Mock any database 2021-07-14 21:31:59 +08:00
Billy Chan
ce32967a95
Add base_entity doc 2021-07-12 11:12:32 +08:00
Billy Chan
3659abbf0a
Improve doc test 2021-07-09 10:55:53 +08:00
Chris Tsang
7e3bc1c7b3 Delete many 2021-06-28 01:36:28 +08:00
Chris Tsang
688891f706 Use MockDatabase in doc test 2021-06-27 16:15:56 +08:00
Chris Tsang
cbf16102c0 has_one and belongs_to 2021-06-22 15:52:22 +08:00
Chris Tsang
d77a7c8ab4 Has many relation to be auto defined 2021-06-22 01:30:21 +08:00
Chris Tsang
9058089dc8 Rename find_by to find_by_id 2021-06-16 17:39:22 +08:00
Chris Tsang
b762325534 Rename file 2021-06-12 18:13:12 +08:00