Billy Chan
3bada7fbc3
WIP
2021-08-29 12:05:55 +08:00
Billy Chan
484da8f6b6
WIP
2021-08-28 20:00:59 +08:00
Chris Tsang
3f7de132aa
Update examples
2021-08-23 15:29:30 +08:00
Billy Chan
106d38d20b
cargo fmt
2021-08-12 22:53:22 +08:00
Chris Tsang
f5db10d6a6
Example
2021-08-11 13:54:20 +08:00
Chris Tsang
2e9c19dc97
Readme
2021-08-08 16:48:45 +08:00
Chris Tsang
a828c3f7ee
Update workflow
2021-08-08 16:02:45 +08:00
Chris Tsang
e228ada74a
Restore example
2021-08-08 15:32:31 +08:00
Chris Tsang
fbb09e17a7
Remove files
2021-08-07 23:19:21 +08:00
Billy Chan
0b10d30c64
Codegen not depends on sea-schema & sqlx
2021-07-27 21:48:41 +08:00
Sam Samai
ef27c2bd57
Set sea-query to ~0.12.8
2021-07-25 21:45:08 +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
Billy Chan
f75fcd8fdf
Update unit test
2021-07-22 19:08:42 +08:00
Chris Tsang
78eeda0c00
Update example
2021-07-03 15:23:58 +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
Billy Chan
dd8d8c3431
Codegen without find_* helper fn
2021-06-30 23:01:23 +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
5714bbe915
cargo fmt
2021-06-29 16:59:45 +08:00
Chris Tsang
a0d9b47b1f
Rename left_join_and_select_* to find_*_related
2021-06-28 02:17:14 +08:00
Chris Tsang
5d16222108
Update example
2021-06-28 01:36:59 +08:00
Chris Tsang
9f93c7ed6f
Use find_related in place of find_cake
2021-06-28 01:34:49 +08:00
Chris Tsang
a0db19758b
SelectTwoMany
2021-06-27 03:39:09 +08:00
Chris Tsang
df7bb5c195
left_join_and_select_also
2021-06-27 00:03:16 +08:00
Chris Tsang
0afd226dbe
Update generated examples
2021-06-26 22:27:29 +08:00
Chris Tsang
c36b94592d
Merge branch 'codegen-amendment'
2021-06-26 22:08:01 +08:00
Chris Tsang
1b2dc1ca43
Revert examples
2021-06-26 22:06:10 +08:00
Billy Chan
fa30519f99
sea-orm-cli read config from .env, update command, rename binary to sea-orm-cli
2021-06-26 21:46:10 +08:00
Billy Chan
9a25bb9c36
Use belongs_to
, has_one
and has_many
2021-06-22 23:42:10 +08:00
Billy Chan
83e4859776
codegen ColumnDef null() and unique()
2021-06-22 22:40:43 +08:00
Chris Tsang
72408eedfc
Fix GitHub Action
2021-06-20 23:22:15 +08:00
Chris Tsang
91023d06c5
Codegen: update ColumnDef
2021-06-19 20:53:08 +08:00
Billy Chan
cab4b5a3f7
Codegen: Entity Generator ( #23 )
2021-06-19 19:47:59 +08:00
Chris Tsang
e5ff92dc1d
DbConn alias
2021-06-19 17:33:14 +08:00
Chris Tsang
5002c62b40
Use DatabaseConnection in place of Database
2021-06-19 17:28:07 +08:00
Chris Tsang
5d84c88ccd
Fix example
2021-06-19 17:00:36 +08:00
Chris Tsang
9058089dc8
Rename find_by to find_by_id
2021-06-16 17:39:22 +08:00
Chris Tsang
d8902ba979
Refactor example
2021-06-16 17:31:14 +08:00
Chris Tsang
6b7ea75393
Mock Database Connection
2021-06-13 22:20:50 +08:00
Chris Tsang
71d0cde771
PrimaryKey auto_increment
2021-06-12 19:18:14 +08:00
Chris Tsang
5069f92001
Delete and example
2021-06-11 23:10:56 +08:00
Chris Tsang
b65f2f9b90
Tweak
2021-06-07 20:04:56 +08:00
Chris Tsang
cf5b772cdd
More fruits
2021-06-06 23:35:29 +08:00
Chris Tsang
b148c3906d
Make Val looks like enum variants
2021-06-06 23:03:34 +08:00
Chris Tsang
b818138724
cargo fmt
2021-06-06 22:42:53 +08:00
Billy Chan
937af05003
Paginator API ( #10 )
...
* Paginator
* Remove unnecessary dependency, rename to num_pages
* Hotfix - nullable json value
* num_pages implemented on sub_query
2021-06-06 22:30:54 +08:00
Chris Tsang
5e0176ef1a
Simplify example
2021-06-06 18:39:18 +08:00
Chris Tsang
989845f422
Tweaks
2021-06-06 18:13:53 +08:00
Chris Tsang
58349ee68b
Example
2021-06-06 00:26:54 +08:00