325 Commits

Author SHA1 Message Date
Chris Tsang
76596da46a
Merge pull request #117 from SeaQL/primary-key-type
`InsertResult` to return the primary key's type
2021-09-03 14:15:11 +08:00
Billy Chan
8cde6e46e4
Merge branch 'master' into linked-api 2021-09-03 12:14:39 +08:00
Billy Chan
541b94f15d
Update query helper column_as 2021-09-03 11:23:29 +08:00
Chris Tsang
cd43ff7143 Remove turbofish 2021-09-02 17:43:29 +08:00
Billy Chan
0db9021da0
Update tests 2021-09-02 16:30:57 +08:00
Billy Chan
8e2b7e561e
Testing composite primary keys 2021-09-02 11:47:57 +08:00
Billy Chan
d14322ad75
WIP (workflow will fail) 2021-09-01 19:05:59 +08:00
Billy Chan
a49f880f4f
WIP: composite primary keys 2021-09-01 18:23:23 +08:00
Billy Chan
0e0ee0ede6
Add TryFromU64 & test Uuid as primary key 2021-09-01 16:53:54 +08:00
Billy Chan
5073c6f4aa
Relation with optional ForeignKeyAction 2021-09-01 10:35:51 +08:00
Billy Chan
1ad1767457
cargo fmt 2021-08-31 23:10:39 +08:00
Billy Chan
bdf6593dfe
Hotfix 2021-08-31 22:31:58 +08:00
Billy Chan
5a0f1d0fd1
Try pretty_assertions 2021-08-31 19:05:54 +08:00
Billy Chan
5fbc7b146a
Refactoring & Testing 2021-08-31 18:31:01 +08:00
Billy Chan
333f199c1a
cargo fmt 2021-08-29 22:37:21 +08:00
Billy Chan
4d0c5f0b0f
Hotfix - Postgres errors 2021-08-29 22:11:19 +08:00
Billy Chan
752cc4a44e
WIP 2021-08-29 19:39:01 +08:00
Billy Chan
3bada7fbc3
WIP 2021-08-29 12:05:55 +08:00
Billy Chan
9db0748c64
Non-static link 2021-08-28 20:20:34 +08:00
Billy Chan
484da8f6b6
WIP 2021-08-28 20:00:59 +08:00
Billy Chan
bfaa7d4539
Test Linked 2021-08-26 23:28:44 +08:00
Billy Chan
09c328bb0d Use smol async-runtime and require one of the supported runtime for integration tests 2021-08-21 22:56:48 +08:00
Billy Chan
2cfaa34a33 Test against all supported runtime 2021-08-21 22:56:48 +08:00
Chris Tsang
c1ac7baae9 cargo fmt 2021-08-08 16:13:27 +08:00
Chris Tsang
7352bb96e4 Basic tests for SQLite 2021-08-08 16:12:36 +08:00
Chris Tsang
7e968e2bbf Improve bakery schema 2021-08-07 21:35:04 +08:00
Chris Tsang
2060e30f06 Entity prelude with external types 2021-08-07 21:01:56 +08:00
Chris Tsang
96313dc6d1 Rename file 2021-08-07 19:28:41 +08:00
Chris Tsang
08497f1767 Cleanup 2021-08-07 19:10:30 +08:00
Sam Samai
e01585c9e7 Add runtime configs to tests and clean up 2021-08-06 22:27:03 +10:00
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
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
Billy Chan
9b61e22ba9
Hotfix - Postgres collation default case-sensitive? 2021-08-06 10:54:09 +08:00
Sam Samai
402c003d84 WIP - failing for postgres on Customer::find().count(db).await.unwrap(); 2021-08-05 21:08:28 +10: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
Billy Chan
571210748f
cargo +nightly fmt 2021-07-26 14:56:56 +08:00
Billy Chan
c9d1285b57
Hotfix 2021-07-26 13:02:02 +08:00
Billy Chan
8013f92261
Feature gated mysql tests 2021-07-26 12:43:46 +08: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