Chris Tsang
f54683d365
Refactor/fix clippy errors ( #2056 ) ( #2057 )
...
* chore: add clippy config file
* refactor: fix clippy errors and wornings of runtime-async-std-native-tls,sqlx-all
* refactor: fix clippy errors and wornings of sqlx-sqlite, sqlx-mysql, sqlx-postgres
* chore: format
* refactor: fix clippy
* fix: import path
* refactor: fix clippy errors and wornings of sqlx-sqlite, sqlx-mysql, sqlx-postgres
* fix: revert some space and comma removal
* fix: revert some space and comma removal
* refactor: add feature flag
* fix: import path
* test: remove mismatch feature flag
* test: remove mismatch feature flag
* chore: add proper feature flag
* chore: remove feature flag
* refactor: remove clippy.toml file
* fix: re-export driver
* fix: re-export JoinType
* fix: remove feature flag
* chore: add #[allow(unused_imports)] for driver
Co-authored-by: Shogo Nakano <61229807+shogo-nakano-desu@users.noreply.github.com>
2024-01-11 00:21:22 +08:00
Ivan Yiu
27ca745208
SelectTwo cursor by, cursorTrait revamp ( #1826 )
...
* WIP
* WIP
* test cases for cursor with SelectTwo
* fmt, fix test
* WIP, missing test for also_linked cursor_by
* completed many_to_many relationship
* test fixup
* fmt
* extra order_by to fix test
* WIP
* fixed cursor_by to do ordering implicitly base on both cursor column and primary key from other table
* change from map to for loop to eagerly do order_by
* fix tests
2023-09-23 00:03:04 +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
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
e76cbb9fe1
Add into_model
& into_json
for Cursor
( #1112 )
2022-10-16 19:02:48 +08:00
Chris Tsang
bfe6eb39d5
Cursor pagination ( #822 )
...
* Cursor pagination
* Apply filter / range filter on cursor; Allow non-primary key filter
* Fixup
* Update cursor API
* Cursor pagination with composite keys
* Docs
* Rename cursor() to cursor_by()
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-07-10 15:08:38 +08:00
Chris Tsang
12ec00272c
Revert "Cursor Pagination ( #754 )"
...
This reverts commit 6f9dbd260e6e004c369abe0019b4374253db7d3b.
2022-06-26 18:23:47 +08:00
Billy Chan
6f9dbd260e
Cursor Pagination ( #754 )
...
* Cursor pagination
* Apply filter / range filter on cursor; Allow non-primary key filter
* Fixup
* Update cursor API
* Cursor pagination with composite keys
* Docs
2022-06-26 17:48:00 +08:00