16 Commits

Author SHA1 Message Date
Billy Chan
e76928f1cc Support join on multiple columns 2021-08-14 00:01:40 +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
cbf16102c0 has_one and belongs_to 2021-06-22 15:52:22 +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
71d0cde771 PrimaryKey auto_increment 2021-06-12 19:18:14 +08:00
Chris Tsang
05ccb1b644 Tweak ActiveModelBehavior 2021-06-06 16:06:05 +08:00
Chris Tsang
93daf55cda Refactor EntityName 2021-06-04 00:37:39 +08:00
Chris Tsang
6a26b8cc17 ActiveModelBehavior 2021-06-03 18:57:26 +08:00
Billy Chan
7aaeef834c
Move to separate DeriveActiveModel, cargo fmt 2021-05-25 18:27:44 +08:00
Chris Tsang
8886269616 Many to many by reverse relation 2021-05-19 21:48:51 +08:00
Chris Tsang
0c4b69e3b3 impl EntityTrait 2021-05-19 20:07:57 +08:00
Billy Chan
bdc403c55b
Cargo fmt 2021-05-18 18:47:40 +08:00
Billy Chan
8d92e09858
Derive macros traits with crate name 2021-05-18 18:43:14 +08:00
Chris Tsang
7bf8ab0202 Many to many prototype 2021-05-18 00:18:55 +08:00