54 Commits

Author SHA1 Message Date
Billy Chan
f20c64988d
Tests all DB 2021-10-25 16:52:02 +08:00
Billy Chan
80c72004d1
Try Postgres enum 2021-10-21 15:43:50 +08:00
Billy Chan
734608471c
WIP 2021-10-20 18:54:08 +08:00
Billy Chan
8627c8d961
Draft ActiveEnum 2021-10-19 19:08:02 +08:00
Chris Tsang
7c82670d12 Doc 2021-10-02 01:17:32 +08:00
Billy Chan
088bfd01e7
Add unit tests 2021-09-30 11:19:17 +08:00
baoyachi
2ccc8c527a cargo fmt 2021-09-27 11:49:20 +08:00
Chris Tsang
f22d93ce21 Unit test for DeriveEntityModel 2021-09-26 16:33:04 +08:00
Billy Chan
c9047d49e7 Update README & lib.rs 2021-09-20 18:30:31 +08:00
Billy Chan
37d390e500
WIP 2021-09-17 19:04:18 +08:00
Chris Tsang
8d8415817d Add nullable to ColumnDef 2021-09-06 17:11:19 +08:00
Billy Chan
5060890888
cargo +nightly fmt 2021-09-03 14:56:58 +08:00
Billy Chan
ba4b938b69
Revert ColumnType::Binary changes 2021-09-01 13:02:57 +08:00
Billy Chan
5fbc7b146a
Refactoring & Testing 2021-08-31 18:31:01 +08:00
Billy Chan
d1d37fab07
cargo fmt 2021-08-31 12:49:33 +08:00
Chris Tsang
5966100244 ColumnTrait extends FromStr 2021-08-23 01:16:00 +08:00
Chris Tsang
4c3bc32fd8 Refactor test case 2021-08-23 01:12:53 +08:00
Chris Tsang
332ab3ccf5 Remove derive PartialEq 2021-08-22 22:15:40 +08:00
Ari Seyhun
46a4cafaa9 Implement FromStr for DeriveColumn 2021-08-22 02:00:20 +08:00
Billy Chan
b1d28db5ad
Fix clippy warnings 2021-08-10 11:03:41 +08:00
Chris Tsang
dbbb220180 Support sea-query 0.12.9 2021-08-08 15:44:26 +08:00
Billy Chan
6224bb6d5f Support subquery 2021-07-27 21:46:01 +08:00
Sam Samai
c9833893c0 Column type can be Uuid 2021-07-20 16:28:38 +10:00
Chris Tsang
9334d4ff5d DbBackend alias 2021-07-17 22:03:41 +08:00
Chris Tsang
7be1daacd3 Fix clippy 2021-07-17 20:34:07 +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
b09aed3ff1
Add more doc 2021-07-12 11:45:20 +08:00
Chris Tsang
564c6ed1a2 ColumnDef 2021-06-19 21:06:12 +08:00
Chris Tsang
91023d06c5 Codegen: update ColumnDef 2021-06-19 20:53:08 +08:00
Chris Tsang
0b3ea685d5 ColumnDef with builder API to replace sea_query::ColumnType in Entity def 2021-06-19 18:42:26 +08:00
Chris Tsang
60fd9061bd ColumnDef TODO 2021-06-14 21:00:44 +08:00
Chris Tsang
da545c266c Comments 2021-06-12 19:48:43 +08:00
Chris Tsang
f26e95c9e3 Use SeaRc 2021-06-07 21:20:23 +08:00
Chris Tsang
2fc4520ee8 Refactor Query as traits 2021-06-02 00:36:06 +08:00
Chris Tsang
c45a4bb376 impl QueryTrait for Select 2021-06-01 18:20:05 +08:00
Chris Tsang
8a1329a7b5 SelectHelper 2021-06-01 17:31:32 +08:00
Chris Tsang
d3ee74cbe5 Insert POC 2021-05-28 00:38:34 +08:00
Chris Tsang
9dc7c818d7 Move code 2021-05-15 13:23:52 +08:00
Chris Tsang
2a2e5d6ba6 SelectQuery Trait 2021-05-15 01:19:07 +08:00
Chris Tsang
a77d341818 Unify API 2021-05-11 20:05:47 +08:00
Chris Tsang
dde85d83bd Add select APIs 2021-05-11 02:05:05 +08:00
Chris Tsang
5667eb06e9 Refactor 2021-05-10 17:03:56 +08:00
Chris Tsang
486a081509 Improve API 2021-05-09 21:11:32 +08:00
Chris Tsang
00f2e125df Redesign EntityName + entity::prelude 2021-05-09 19:03:54 +08:00
Chris Tsang
19b95eb64b Resign Iden 2021-05-09 18:50:31 +08:00
Chris Tsang
58f4059c3e Redesign primary key 2021-05-09 17:36:55 +08:00
Chris Tsang
6289b331a9 Model getter and setter 2021-05-09 15:28:03 +08:00
Chris Tsang
c72d7b0289 Rename 2021-05-09 02:43:40 +08:00
Chris Tsang
89af820f2c Reverse join 2021-05-09 00:39:38 +08:00