826 Commits

Author SHA1 Message Date
Billy Chan
22649f36a2
cargo fmt 2021-08-06 10:51:34 +08:00
Billy Chan
9c865cbb31
Try to fix count() 2021-08-06 10:48:37 +08:00
Sam Samai
abed934d3f WIP strange fail with postgres driver 2021-08-01 16:14:31 +10:00
Billy Chan
6224bb6d5f Support subquery 2021-07-27 21:46:01 +08:00
Chris Tsang
f11f7e1c19
Merge pull request #42 from SeaQL/ss/test_suite
WIP
2021-07-26 14:33:29 +08:00
Chris Tsang
36ceddaa4b Tweaks 2021-07-26 03:17:15 +08:00
Sam Samai
6efb06d28b Merge branch 'master' into ss/test_suite
# Conflicts:
#	Cargo.toml
2021-07-25 20:41:42 +10:00
Billy Chan
1cdbcceddb
Testing different db on various async runtime (#53)
* Testing different db on various async runtime

* Test on various runtime

* No explicit cargo build step

* Cargo build with features

* Hotfix

* With actix_rt

* Only tests "runtime-async-std-native-tls" for now
2021-07-22 19:23:21 +08:00
Sam Samai
1d55df9c7b Merge branch 'master' into ss/test_suite
# Conflicts:
#	.github/workflows/rust.yml
#	Cargo.toml
2021-07-22 21:04:36 +10:00
Billy Chan
22516b8f68 Add Postgres db driver 2021-07-21 19:07:02 +08:00
Sam Samai
dfda079b77 Store baker contact details as Json and test 2021-07-21 15:36:53 +10:00
Sam Samai
c9833893c0 Column type can be Uuid 2021-07-20 16:28:38 +10:00
Chris Tsang
303a0f32d6 cargo fmt 2021-07-19 11:15:31 +08:00
Chris Tsang
1dceb07c70 pub use Value and Values 2021-07-19 11:15:31 +08:00
Chris Tsang
25432e68d0 from_raw_sql example 2021-07-18 00:02:29 +08:00
Chris Tsang
2dc8401c53 Paginator docs 2021-07-17 23:15:08 +08:00
Chris Tsang
9334d4ff5d DbBackend alias 2021-07-17 22:03:41 +08:00
Chris Tsang
56763a8718 count() on Select 2021-07-17 21:18:20 +08:00
Chris Tsang
c018e45c3c Refactor 2021-07-17 20:35:14 +08:00
Chris Tsang
7be1daacd3 Fix clippy 2021-07-17 20:34:07 +08:00
Chris Tsang
ca9aa01f6b Docs 2021-07-16 22:32:42 +08:00
Chris Tsang
c82b23795d #48: Select model from raw sql 2021-07-16 21:41:12 +08:00
Chris Tsang
57097c0ede Visibility 2021-07-16 16:51:12 +08:00
Billy Chan
e83cc63e3a Replacing Syntax & *BuilderBackend with DatabaseBackend 2021-07-16 00:28:03 +08:00
Billy Chan
56fd77eddf Build query with syntax 2021-07-16 00:28:03 +08:00
Billy Chan
d59ee1e298 Mock any database 2021-07-14 21:31:59 +08:00
Chris Tsang
bcd221a915 Add Syntax to Statement 2021-07-13 22:39:29 +08:00
Billy Chan
e65db62e13
Merge branch 'master' into improve-doc-test 2021-07-12 18:47:25 +08:00
Billy Chan
b09aed3ff1
Add more doc 2021-07-12 11:45:20 +08:00
Billy Chan
ce32967a95
Add base_entity doc 2021-07-12 11:12:32 +08:00
Sam Samai
a838cf7c23
Naivedatetime for placed_at on order (#40)
* WIP use NativeDateTime for placed_at

* Use NaiveDatetime for placed_at

* Cargo fmt again

Co-authored-by: Chris Tsang <tyt2y7@gmail.com>
2021-07-11 22:17:28 +08:00
Chris Tsang
6ff5a32b7a cargo fmt 2021-07-11 22:08:37 +08:00
Billy Chan
c73e10cc59
Fix clippy warming 2021-07-09 12:52:28 +08:00
Billy Chan
3659abbf0a
Improve doc test 2021-07-09 10:55:53 +08:00
Chris Tsang
3b67ff8c0c Support Decimal on sqlite 2021-07-08 01:58:01 +08:00
Chris Tsang
40dd5e7da7 Fix build error from rust_decimal 2021-07-08 01:26:42 +08:00
Sam Samai
f05de487ff Use Decimal for lineitem price 2021-07-07 21:46:21 +10:00
Chris Tsang
732428fd1b Remove Default bound from ActiveValue 2021-07-05 22:35:42 +08:00
Chris Tsang
53311d883b Docs 2021-07-03 15:23:58 +08:00
Chris Tsang
fe4297d233 Readme 2021-07-01 21:25:46 +08:00
Chris Tsang
e40455e771 Use SeaQL/strum 2021-07-01 21:07:23 +08:00
Billy Chan
7bf79ae5bf Re-export strum_macros 2021-07-01 19:12:52 +08:00
Chris Tsang
1b43ffc987 Readme 2021-07-01 17:41:16 +08:00
Chris Tsang
3a0ea8146f Docs 2021-06-30 23:56:26 +08:00
Chris Tsang
f5ac84f915 Rework DbErr 2021-06-30 23:56:26 +08:00
Billy Chan
f8f3d128fd
Fix clippy warming 2021-06-30 22:50:01 +08:00
Chris Tsang
30ac326d5c Rename to DbErr::Exec and DbErr::Conn 2021-06-30 21:21:06 +08:00
Chris Tsang
0298cfb6af Rename to DbErr 2021-06-30 21:17:23 +08:00
Billy Chan
2a1173c174
Add & use OrmError (#36)
* Add & use OrmError

* Rename to SeaErr
2021-06-30 21:08:41 +08:00
Chris Tsang
f6ea8a7b3f Docs 2021-06-30 11:39:40 +08:00