484 Commits

Author SHA1 Message Date
Sam Samai
e7d2899019 Refactor basic test 2021-08-06 22:08:59 +10:00
Sam Samai
5930c4b278 Clean up 2021-08-06 21:17:49 +10:00
Billy Chan
5e47dd5d74
SQLite not support right join 2021-08-06 18:32:16 +08:00
Billy Chan
1eb490055e
Hotfix - try_get Option<T> directly 2021-08-06 18:23:37 +08:00
Billy Chan
7e590b4a8d
SQLite use ENV connection string 2021-08-06 18:23:10 +08:00
Billy Chan
33298636a6
Hotfix - sqlite ignore right_join test 2021-08-06 16:33:20 +08:00
Billy Chan
d5447bca88
Hotfix - Postgres types 2021-08-06 12:26:56 +08:00
Chris Tsang
c991abe7a4
Update README.md 2021-08-06 11:49:42 +08:00
Billy Chan
9b61e22ba9
Hotfix - Postgres collation default case-sensitive? 2021-08-06 10:54:09 +08:00
Billy Chan
22649f36a2
cargo fmt 2021-08-06 10:51:34 +08:00
Billy Chan
9c865cbb31
Try to fix count() 2021-08-06 10:48:37 +08:00
Billy Chan
bc7264587c
Try setting ENV 2021-08-05 23:47:49 +08:00
Sam Samai
fbc26cd6dc Merge branch 'master' into ss/test_suite_refactor
# Conflicts:
#	.github/workflows/rust.yml
2021-08-05 21:49:41 +10:00
Sam Samai
402c003d84 WIP - failing for postgres on Customer::find().count(db).await.unwrap(); 2021-08-05 21:08:28 +10:00
Billy Chan
e144216740
Update GitHub Actions 2021-08-04 13:01:49 +08:00
Sam Samai
54461172de WIP 3 2021-08-02 21:35:41 +10:00
Sam Samai
09dd290101 WIP 2 2021-08-02 21:21:35 +10:00
Sam Samai
abed934d3f WIP strange fail with postgres driver 2021-08-01 16:14:31 +10:00
Sam Samai
1c3e1b410b Use DATABASE_URL env variable for bakery_chain_tests 2021-07-31 16:50:04 +10:00
Sam Samai
445d24eebf Use DATABASE_URL env variable for query_tests 2021-07-31 16:38:12 +10:00
Sam Samai
c240ebba77 Use DATABASE_URL env variable for relational_tests 2021-07-31 16:24:35 +10:00
Sam Samai
b2ed13868e Use DATABASE_URL env variable for sequential_op_tests 2021-07-31 15:59:54 +10:00
Chris Tsang
d5f63a05c4 Tweaks 2021-07-29 23:18:37 +08:00
Billy Chan
08acc2a06a Test mariadb 10.5 2021-07-27 22:15:07 +08:00
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