Billy Chan
3bada7fbc3
WIP
2021-08-29 12:05:55 +08:00
Billy Chan
484da8f6b6
WIP
2021-08-28 20:00:59 +08:00
Sam Samai
380f2a0c04
Use create_post_table instead of SQL
2021-08-27 22:36:56 +10:00
Sam Samai
f191645467
Run migration via try_on_ignite
2021-08-27 22:31:54 +10:00
Sam Samai
41d25225e2
Create a post #[post("/", data = "<post>")]
2021-08-27 22:20:46 +10:00
Sam Samai
11c1e4e399
Destroy posts #[delete("/")]
2021-08-27 21:39:44 +10:00
Sam Samai
c880ca5732
Delete post #[delete("/<id>")]
2021-08-26 22:28:17 +10:00
Sam Samai
a922602700
Show post #[get("/<id>")]
2021-08-26 22:07:38 +10:00
Sam Samai
5adecc9088
List post ids #[get("/")]
2021-08-26 21:42:50 +10:00
Billy Chan
87d4f09931
Add rocket-mysql driver
2021-08-25 23:05:30 +08:00
Sam Samai
f6994477eb
DatabaseBackend::Sqlite -> DatabaseBackend::MySql
2021-08-25 22:42:30 +10:00
Sam Samai
cd9793417b
WIP Runs
2021-08-25 22:17:11 +10:00
Sam Samai
aebb1a5073
Merge branch 'master' into ss/rocket-example
2021-08-24 20:58:01 +10:00
Chris Tsang
3f7de132aa
Update examples
2021-08-23 15:29:30 +08:00
Sam Samai
e009d2ffcf
WIP
2021-08-22 15:30:04 +10:00
Sam Samai
0998b64ed4
WIP
2021-08-22 14:18:27 +10:00
Sam Samai
c6480635c0
WIP
2021-08-21 21:58:20 +10:00
Sam Samai
73b72e3a31
WIP
2021-08-17 22:37:28 +10:00
Billy Chan
106d38d20b
cargo fmt
2021-08-12 22:53:22 +08:00
Sam Samai
53bbf32229
Init Rocket example
2021-08-12 22:05:06 +10: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