817 Commits

Author SHA1 Message Date
Billy Chan
cb60c4afa3 Keep match catchall 2021-09-20 11:37:44 +08:00
Billy Chan
57201788ef Codegen TimestampWithTimeZone fixup 2021-09-20 11:37:44 +08:00
Sam Samai
54edd87706 Merge branch 'master' into ss/actix-example 2021-09-19 21:43:10 +10:00
Sam Samai
31bc662f3f Use Arc to pass database connection to requests 2021-09-19 21:16:43 +10:00
Chris Tsang
5d1488f12d
Merge pull request #175 from MuhannadAlrusayni/master
Impl `TryGetableMany` for diffrent types of generices
2021-09-19 01:54:00 +08:00
Billy Chan
3093cd2035 DatabaseConnection impl Sync, Send and Clone 2021-09-18 23:17:29 +08:00
Chris Tsang
27807f3f6c Fix DeriveEntityModel Decimal mapping 2021-09-18 21:45:28 +08:00
Chris Tsang
84594114dc Readme 2021-09-18 20:15:20 +08:00
Chris Tsang
8443f566cf Tokio example 2021-09-18 17:44:43 +08:00
Chris Tsang
3001fca466 Refactor basic test 2021-09-18 16:37:07 +08:00
Chris Tsang
0a19db6977 Fix SQLite test suite 2021-09-18 16:16:33 +08:00
Chris Tsang
68787d1412 Refactor uuid test 2021-09-18 15:47:59 +08:00
Chris Tsang
558cf5904a Test suite: drop table if exists, instead of create table if not exists 2021-09-18 15:40:47 +08:00
Chris Tsang
fc769a89df Refactor timestamp test 2021-09-18 15:17:23 +08:00
Muhannad Alrusayni
15db5d2933 clean up some comments 2021-09-17 22:45:05 +03:00
Muhannad Alrusayni
3bf26a758a impl TryFromU64 for tuples types 2021-09-17 22:41:49 +03:00
Chris Tsang
004653e86d Simplify Cargo 2021-09-18 03:37:27 +08:00
Chris Tsang
77bc11e1e5 Use compact entity format for Rocket example 2021-09-18 03:10:07 +08:00
Muhannad Alrusayni
56dd19ef75 Impl TryGetableMany for diffrent types of generices 2021-09-17 21:59:38 +03:00
Chris Tsang
28b7542ca9 0.2.2 2021-09-18 01:42:38 +08:00
Chris Tsang
6ce040bbba Bump sea-orm-macros 2021-09-17 23:49:55 +08:00
Chris Tsang
89c7359759 sea-orm-macros 0.2.2 2021-09-17 23:47:48 +08:00
Chris Tsang
1977d69202 sea-orm-cli 0.2.2 2021-09-17 23:40:53 +08:00
Chris Tsang
903fda0e87 sea-orm-codegen 0.2.2 2021-09-17 23:39:58 +08:00
Chris Tsang
89661ae3d0
Merge pull request #173 from SeaQL/pg-timestamp-tz
`TimestampWithTimeZone` Fixups
2021-09-17 23:38:47 +08:00
Chris Tsang
e36be13611 Bump dependency version 2021-09-17 23:27:14 +08:00
Chris Tsang
e7ec68f4c1 Correct Rust type to ColumnType mapping 2021-09-17 23:06:41 +08:00
Chris Tsang
b1b5f95c1d Unit tests 2021-09-17 22:22:10 +08:00
Billy Chan
ffb0f1f07d
Codegen supports ColumnType::TimestampWithTimeZone 2021-09-17 21:57:16 +08:00
Billy Chan
6435b51d09
Remove unused assert 2021-09-17 21:45:45 +08:00
Billy Chan
37d390e500
WIP 2021-09-17 19:04:18 +08:00
Sam Samai
1a4392dd0b Merge branch 'master' into ss/actix-example 2021-09-17 20:17:54 +10:00
Sam Samai
d623474d7c Refactor flash 2021-09-17 20:17:17 +10:00
Chris Tsang
5509048550
Merge pull request #166 from SeaQL/model-ignore-attribute
Model ignore attributes
2021-09-17 17:20:42 +08:00
Billy Chan
a45c44cfc5 Add cake_expanded entity file for docs demo 2021-09-17 17:20:07 +08:00
Billy Chan
5fe8c7c9c4
Revert adding #[sea_orm(ignore)] to tests entities 2021-09-17 17:08:55 +08:00
Chris Tsang
a280a227d8 TODO 2021-09-17 16:04:07 +08:00
Billy Chan
6e7e2a59d3
cargo fmt 2021-09-17 15:16:30 +08:00
Chris Tsang
2e1371537a Merge FromQueryResultExt into FromQueryResult 2021-09-17 15:04:37 +08:00
Chris Tsang
94b5fbf413
Merge pull request #167 from MuhannadAlrusayni/master
Improve working with raw SQL
2021-09-17 14:58:18 +08:00
Chris Tsang
8564512350
Merge pull request #168 from SeaQL/example/log
Add example of debug log support
2021-09-17 14:34:07 +08:00
Chris Tsang
905b7c4255
Merge pull request #165 from SeaQL/cli/log
Add CLI verbose option
2021-09-17 14:33:29 +08:00
Chris Tsang
51a690ba99
Update Cargo.toml 2021-09-17 12:26:31 +08:00
Chris Tsang
2b36ab0ae0
Update Cargo.toml 2021-09-17 12:23:06 +08:00
Muhannad Alrusayni
e71a74b0c1 Improve working with raw SQL
- Add `find_by_statement` to `T: FromQueryResult`
- Add `SelectorRaw::from_statement` constructor
2021-09-16 18:06:02 +03:00
Sam Samai
8b46a89e2c Add flash messages 2021-09-16 22:47:11 +10:00
Billy Chan
c1e399ae18
Add example of debug log support 2021-09-16 18:30:05 +08:00
Muhannad Alrusayni
9107c9010a add into_model() for Statement 2021-09-16 11:47:31 +03:00
Billy Chan
beca48d48e
Refactor 2021-09-16 14:59:48 +08:00
Billy Chan
4e7bf8b836
Testing 2021-09-16 13:11:26 +08:00