165 Commits

Author SHA1 Message Date
Billy Chan
6018d3f1b9
Merge remote-tracking branch 'origin/master' into active-enum 2021-11-02 12:18:37 +08:00
Charles Chege
a9b6f8cc83 Documetation for the query module 2021-10-29 10:38:30 +03:00
Billy Chan
fe64d53b45
Merge remote-tracking branch 'origin/master' into active-enum 2021-10-27 13:24:35 +08:00
Billy Chan
e04495b94d
Refactoring 2021-10-27 11:28:33 +08:00
Billy Chan
fac528a369
Refactoring 2021-10-27 10:58:38 +08:00
Billy Chan
ded28be2c0
Refactoring 2021-10-26 18:58:06 +08:00
Billy Chan
db22e70c63
Refactoring 2021-10-26 17:51:36 +08:00
Billy Chan
2ee376ddd1
Try EnumValue 2021-10-26 16:22:24 +08:00
Chris Tsang
5daa9abd38 #267 Added is_null and is_not_null 2021-10-23 15:41:33 +08:00
Forest Anderson
44da1cab0b Rearranged files, added fmt 2021-10-22 11:24:41 +08:00
Billy Chan
20c66b2f05
Refactoring 2021-10-21 15:50:18 +08:00
Billy Chan
80c72004d1
Try Postgres enum 2021-10-21 15:43:50 +08:00
Billy Chan
01eff84ce8 Join with table alias 2021-10-15 22:28:39 +08:00
Chris Tsang
3a6e55ced1 cargo fmt 2021-10-12 14:52:11 +08:00
Chris Tsang
7bc6477091 Merge branch 'master' into transaction-3 2021-10-12 14:24:35 +08:00
Chris Tsang
3fd33ab53c
Merge branch 'master' into last-insert-id 2021-10-12 13:59:41 +08:00
Chris Tsang
edc2e6500d
Merge pull request #223 from SeaQL/active-value-api
`ActiveValue::take()` & `ActiveValue::into_value()` without `unwrap()`
2021-10-12 12:57:17 +08:00
Billy Chan
2f90207d64
Remove PrimaryKeyValue trait 2021-10-08 18:10:19 +08:00
Chris Tsang
51b30ee837
Merge branch 'master' into transaction-3 2021-10-07 17:21:59 +08:00
Billy Chan
8caed80fd7
Merge branch 'master' into last-insert-id 2021-10-06 22:38:43 +08:00
Chris Tsang
632290469b Fixup 2021-10-04 21:24:37 +08:00
baoyachi. Aka Rust Hairy crabs
b74b1f343f Add debug_query and debug_query_stmt macro (#189) 2021-10-04 13:12:18 +08:00
Billy Chan
35b8eb9a4d
ActiveValue::take() & ActiveValue::into_value() without unwrap() 2021-10-04 12:17:31 +08:00
Billy Chan
3955abb14c
Merge remote-tracking branch 'origin/master' into last-insert-id 2021-10-04 11:51:20 +08:00
Chris Tsang
e7b822c65d cargo fmt 2021-10-04 11:44:02 +08:00
Marco Napetti
02ebc9745c Transaction 3 2021-10-04 11:39:16 +08:00
Chris Tsang
7c82670d12 Doc 2021-10-02 01:17:32 +08:00
Billy Chan
5497810afb
Remove unnecessary trait bounds 2021-09-30 11:49:27 +08:00
Billy Chan
a241bc9d7b
Merge branch 'master' into last-insert-id 2021-09-30 11:28:29 +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
ba66de16b6
Merge remote-tracking branch 'origin/master' into last-insert-id 2021-09-28 18:23:30 +08:00
Billy Chan
f79a417150
Remove ValueType: Default 2021-09-27 18:01:38 +08:00
Billy Chan
e558dc8584
Move impl Linked to entity_linked module 2021-09-27 12:13:57 +08:00
Billy Chan
a4f2e3c2a8
Test cases with more level of joins 2021-09-27 11:45:19 +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
889e9df923 Hotfix - ModelTrait::find_linked() filter with model's primary key 2021-09-10 16:34:04 +08:00
Chris Tsang
f56ac7b7f6 #129 Add set method to UpdateMany 2021-09-10 15:21:06 +08:00
Billy Chan
c4cdfa1add
Refactor 2021-09-10 13:15:45 +08:00
Chris Tsang
19ec35f1b5 Revert breaking changes 2021-09-10 12:58:28 +08:00
Billy Chan
f4d1a52791 Change update behavior, add ActiveModel insert & update 2021-09-10 12:56:41 +08:00
Billy Chan
5060890888
cargo +nightly fmt 2021-09-03 14:56:58 +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
9db0748c64
Non-static link 2021-08-28 20:20:34 +08:00
Billy Chan
447947e355
Fix find_linked join direction 2021-08-26 23:28:27 +08:00