Billy Chan
0b10d30c64
Codegen not depends on sea-schema & sqlx
2021-07-27 21:48:41 +08:00
Billy Chan
6224bb6d5f
Support subquery
2021-07-27 21:46:01 +08:00
Billy Chan
571210748f
cargo +nightly fmt
2021-07-26 14:56:56 +08:00
Chris Tsang
f11f7e1c19
Merge pull request #42 from SeaQL/ss/test_suite
...
WIP
2021-07-26 14:33:29 +08:00
Billy Chan
c9d1285b57
Hotfix
2021-07-26 13:02:02 +08:00
Billy Chan
52c36d1bc4
Update default features
2021-07-26 12:48:25 +08:00
Billy Chan
571e4eb5d9
Update GitHub actions
2021-07-26 12:46:35 +08:00
Billy Chan
8013f92261
Feature gated mysql tests
2021-07-26 12:43:46 +08:00
Chris Tsang
36ceddaa4b
Tweaks
2021-07-26 03:17:15 +08:00
Sam Samai
b205fc48aa
Add Uuid to col_type for codegen
2021-07-25 21:45:08 +10:00
Sam Samai
ef27c2bd57
Set sea-query to ~0.12.8
2021-07-25 21:45:08 +10:00
Sam Samai
6efb06d28b
Merge branch 'master' into ss/test_suite
...
# Conflicts:
# Cargo.toml
2021-07-25 20:41:42 +10:00
Sam Samai
09f344ecbb
Test multiple sequential operations
2021-07-24 20:46:19 +10:00
Sam Samai
3bd9948f8c
Point pg_tests to common::bakery_chain files
2021-07-22 21:26:01 +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
Billy Chan
daa0ed947d
Handle conjunction table
2021-07-22 19:08:42 +08:00
Sam Samai
1d55df9c7b
Merge branch 'master' into ss/test_suite
...
# Conflicts:
# .github/workflows/rust.yml
# Cargo.toml
2021-07-22 21:04:36 +10:00
Billy Chan
22516b8f68
Add Postgres db driver
2021-07-21 19:07:02 +08:00
Sam Samai
dfda079b77
Store baker contact details as Json and test
2021-07-21 15:36:53 +10:00
Sam Samai
c9833893c0
Column type can be Uuid
2021-07-20 16:28:38 +10:00
Sam Samai
47b70cfe6d
Create serial
field on cake which is UUID
2021-07-19 17:23:34 +10:00
Sam Samai
d64bf72910
Run each relational test using #[async_std::test]
2021-07-19 16:30:22 +10:00
Chris Tsang
303a0f32d6
cargo fmt
2021-07-19 11:15:31 +08:00
Chris Tsang
1dceb07c70
pub use Value and Values
2021-07-19 11:15:31 +08:00
Sam Samai
c4667296ca
Use greater than in having
test
2021-07-18 20:58:52 +10:00
Sam Samai
a41d980848
Query tests with and without results
2021-07-18 14:37:36 +10:00
Sam Samai
74b5dee773
Test updating a deleted entity
2021-07-18 13:52:38 +10:00
Sam Samai
4ff2ccdaf9
Use DatabaseBackend instead of Syntax
2021-07-18 13:02:04 +10:00
Sam Samai
f5838f8cbd
Merge branch 'master' into ss/test_suite
2021-07-18 12:56:22 +10:00
Sam Samai
1dcca49837
Test having
2021-07-18 12:54:21 +10:00
Chris Tsang
80976116de
Fix clippy warning
2021-07-18 00:02:40 +08:00
Chris Tsang
25432e68d0
from_raw_sql example
2021-07-18 00:02:29 +08:00
Chris Tsang
2dc8401c53
Paginator docs
2021-07-17 23:15:08 +08:00
Chris Tsang
9334d4ff5d
DbBackend alias
2021-07-17 22:03:41 +08:00
Chris Tsang
041f1a135b
2021
2021-07-17 21:50:11 +08:00
Chris Tsang
56763a8718
count() on Select
2021-07-17 21:18:20 +08:00
Chris Tsang
c018e45c3c
Refactor
2021-07-17 20:35:14 +08:00
Chris Tsang
7be1daacd3
Fix clippy
2021-07-17 20:34:07 +08:00
Chris Tsang
ca9aa01f6b
Docs
2021-07-16 22:32:42 +08:00
Chris Tsang
c82b23795d
#48 : Select model from raw sql
2021-07-16 21:41:12 +08:00
Chris Tsang
57097c0ede
Visibility
2021-07-16 16:51:12 +08:00
Sam Samai
8d9dc5ce1c
Test count, min, max with group_by
2021-07-16 15:19:56 +10:00
Sam Samai
0e4840c98f
Test group_by query
2021-07-16 15:02:34 +10: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
Sam Samai
1526bb2b3b
Test inner join
2021-07-15 22:16:01 +10:00
Sam Samai
c1eddc4887
Test right_join
2021-07-15 10:52:36 +10:00
Sam Samai
85f512d412
Bakery chain Schema and CRUD now use data from common module
2021-07-15 10:42:25 +10:00
Sam Samai
f94d19b702
Use mysql 8.0 image on CI
2021-07-15 09:13:30 +10:00