kyoto7250
ba5a83d3a8
distinct support in sea-orm ( #902 )
...
* distinct support
* remove feature flag
* fix argument
2022-09-25 10:21:44 +08:00
Billy Chan
a80c33ef4c
Rewrite enum and text casting ( #973 )
...
* Rewrite enum and text casting
* Add doc tests
* Refactoring
2022-09-05 00:38:12 +08:00
Billy Chan
bb9d532ab5
Support join with table alias ( #852 )
2022-07-11 00:07:11 +08:00
Billy Chan
d6831e5295
Bump version of sqlx, sea-query, sea-schema, time and uuid ( #834 )
...
* Bump version of sqlx, sea-query, sea-schema, time and uuid
* PostgreSQL `u32` was wrapped in `Oid` (launchbadge/sqlx#1602 )
* Update test cases
* Fix clippy warnings
* cargo fmt
* Fix clippy warnings
* Bump sea-schema to ^0.9.2
* Update test cases
* Pin on sea-query minor version
2022-07-05 01:05:11 +08:00
Billy Chan
75cb269ceb
Custom join on conditions ( #793 )
...
* Custom join on conditions
* Try lambda approach
* Implement debug for relation
* Add example without `rev`
* Add more examples
* Docs
2022-06-29 00:27:55 +08:00
Marcel
e20f6e24c5
Update sea-query dependency to 0.24.0 ( #673 )
...
* Use sea-query 0.24.0
* window: None
* window: None
* window: None
2022-04-18 11:04:30 +08:00
Billy Chan
66a005237c
Update sea-orm to depends on sea-query 0.20.0
2021-12-12 23:03:11 +08:00
lz1998
273dc0dd1a
add offset and limit ( #351 )
...
* add offset and limit
* move offset&limit to QuerySelect
2021-12-03 01:12:49 +08:00
Charles Chege
a9b6f8cc83
Documetation for the query module
2021-10-29 10:38:30 +03:00
Chris Tsang
5daa9abd38
#267 Added is_null
and is_not_null
2021-10-23 15:41:33 +08:00
Chris Tsang
7c82670d12
Doc
2021-10-02 01:17:32 +08:00
Billy Chan
b716c9ed57
cargo fmt
2021-09-30 11:19:26 +08:00
Chris Tsang
beb3ec62dc
Add example usage of Condition
...
https://github.com/SeaQL/sea-query/issues/144
2021-09-29 13:54:36 +08:00
Billy Chan
ee504e7d9f
find_linked
join with table alias
2021-09-27 10:36:32 +08:00
Chris Tsang
f96c8ed49b
cargo fmt
2021-09-10 22:02:35 +08:00
Marco Napetti
c3084e425f
Initial lock support ( #118 )
...
* Initial lock support
* Move methods to QuerySelect trait
Co-authored-by: Marco Napetti <nappa85@therocktrading.com>
2021-09-10 16:35:57 +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
Billy Chan
0db9021da0
Update tests
2021-09-02 16:30:57 +08:00
Billy Chan
5fbc7b146a
Refactoring & Testing
2021-08-31 18:31:01 +08:00
Billy Chan
38ace07e83
Schema prefix in table join
2021-08-14 18:43:07 +08:00
Billy Chan
e76928f1cc
Support join on multiple columns
2021-08-14 00:01:40 +08:00
Chris Tsang
36ceddaa4b
Tweaks
2021-07-26 03:17:15 +08:00
Chris Tsang
9334d4ff5d
DbBackend alias
2021-07-17 22:03:41 +08: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
Chris Tsang
9f93c7ed6f
Use find_related in place of find_cake
2021-06-28 01:34:49 +08:00
Chris Tsang
da545c266c
Comments
2021-06-12 19:48:43 +08:00
Chris Tsang
9beca86617
Lint ideas
2021-06-10 12:13:34 +08:00
Chris Tsang
0f7c181d41
And Having
2021-06-08 22:30:00 +08:00
Chris Tsang
b308486192
Refactor Query traits
2021-06-08 22:10:27 +08:00
Chris Tsang
f26e95c9e3
Use SeaRc
2021-06-07 21:20:23 +08:00
Chris Tsang
a746f8b863
Refactor ModelTrait
2021-06-02 22:23:10 +08:00
Chris Tsang
c65cb9687b
Refactor Trait bounds
2021-06-02 19:09:00 +08:00
Chris Tsang
2fc4520ee8
Refactor Query as traits
2021-06-02 00:36:06 +08:00
Chris Tsang
c45a4bb376
impl QueryTrait for Select
2021-06-01 18:20:05 +08:00
Chris Tsang
8a1329a7b5
SelectHelper
2021-06-01 17:31:32 +08:00
Chris Tsang
e216974fa3
sea_query IntoCondition
2021-05-25 22:53:35 +08:00
Chris Tsang
a016cdeeda
filter
accepts Condition
2021-05-24 22:07:02 +08:00
Chris Tsang
ec116762a8
cargo fmt
2021-05-19 21:51:11 +08:00
Chris Tsang
92ac1098cb
Identity Tuple
2021-05-19 21:37:56 +08:00
Chris Tsang
70a1559c60
Update sea-query dependency
2021-05-19 17:43:42 +08:00
Chris Tsang
690916f7bd
QueryHelper condition
2021-05-19 13:33:49 +08:00
Chris Tsang
543f0ede94
QueryHelper API
2021-05-19 13:33:49 +08:00
Chris Tsang
d5cdeb1fe0
Test case
2021-05-18 00:37:47 +08:00
Chris Tsang
2ea4be9350
Refactor
2021-05-18 00:23:56 +08:00
Chris Tsang
7bf8ab0202
Many to many prototype
2021-05-18 00:18:55 +08:00
Chris Tsang
4a9fa29e2d
Docs
2021-05-15 15:09:50 +08:00
Chris Tsang
9dc7c818d7
Move code
2021-05-15 13:23:52 +08:00