Billy Chan
d099669ad8
Cleanup ambiguous glob imports ( #1692 )
...
* Cleanup ambiguous glob imports
* fix
2023-06-06 15:00:05 +08:00
Billy Chan
e6b6629733
Revert SeaORM prelude
...
Add `stream_partial_model` to `Select<E>` and `SelectTwo<E,F>`
Minor refactoring
fmt
Add `into_partial_model` to `Cursor<S>`
refactoring
Add test cases
Fix test cases
More test cases
Move partial_model tests
2023-04-26 18:28:53 +08:00
Billy Chan
b21abf617f
Fix clippy warnings ( #1437 )
2023-01-31 16:46:44 +08:00
Billy Chan
cbd7a8d1c9
Cleanup the use of vec![]
( #1367 )
...
* Public methods accept any IntoIterator as argument
* refactoring
2023-01-11 14:17:06 +08:00
Billy Chan
e246d3faaf
Cont. Upgrade to SeaQuery 0.28.0 ( #1366 )
...
* Upgrade to SeaQuery 0.28.0
* Remove unnecessary heap allocation
* Upgrade sea-query-binder
* Upgrade sea-schema
* Fix
* Upgrade sea-schema
* refactoring
Co-authored-by: Ivan Krivosheev <py.krivosheev@gmail.com>
2023-01-05 20:41:28 +08:00
Allen
bdd9133aa6
fix lints and warnings
...
also clean up impl_into_active_value macro
2022-04-09 16:52:47 -07:00
Chris Tsang
d5c9c65079
Revert save
to return Self
2021-12-26 00:13:56 +08:00
Billy Chan
5104cd3573
Insert & Update Return Model
( #339 )
...
* Update insert & update API
* Update test cases
* Update README
* Fix clippy warnings
* Fixup
* Fixup
2021-12-18 14:30:10 +08:00
Billy Chan
006d35313b
Fix clippy warnings
2021-12-17 11:39:53 +08:00
Billy Chan
01eff84ce8
Join with table alias
2021-10-15 22:28:39 +08:00
Chris Tsang
620972b724
Fixup
2021-10-15 16:10:07 +08:00
Chris Tsang
668fb64224
Refactor test suite
2021-10-15 15:46:25 +08:00
Billy Chan
9c8f5aa93d
More test cases
2021-09-27 10:36:32 +08:00
Billy Chan
ca56f27909
cargo clippy
2021-09-03 16:20:57 +08:00
Billy Chan
b5d85486dd
Fixup
2021-09-03 14:35:20 +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
bfaa7d4539
Test Linked
2021-08-26 23:28:44 +08:00
Billy Chan
2cfaa34a33
Test against all supported runtime
2021-08-21 22:56:48 +08:00
Sam Samai
e01585c9e7
Add runtime configs to tests and clean up
2021-08-06 22:27:03 +10: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
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
c240ebba77
Use DATABASE_URL env variable for relational_tests
2021-07-31 16:24:35 +10:00
Billy Chan
8013f92261
Feature gated mysql tests
2021-07-26 12:43:46 +08:00
Sam Samai
dfda079b77
Store baker contact details as Json and test
2021-07-21 15:36:53 +10:00
Sam Samai
d64bf72910
Run each relational test using #[async_std::test]
2021-07-19 16:30:22 +10:00
Sam Samai
c4667296ca
Use greater than in having
test
2021-07-18 20:58:52 +10:00
Sam Samai
1dcca49837
Test having
2021-07-18 12:54:21 +10: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
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
b302a11586
Test left_join
2021-07-13 21:11:11 +10:00
Sam Samai
5190278e1a
Setup and tear down DB
2021-07-13 20:01:01 +10:00
Sam Samai
8bfad93d30
Manually truncate the tables for MySQL
2021-07-13 11:27:28 +10:00
Sam Samai
82b63589d3
Try mysql adaptor
2021-07-13 10:04:44 +10:00
Sam Samai
c7ff5d8d05
Setup done in TestContext
2021-07-13 10:03:47 +10:00
Sam Samai
ba77fb80aa
Create TestContext for setting up and tearing down the database after each test
2021-07-11 22:08:55 +10:00