Billy Chan
|
aa5ccb9216
|
Hotfix - ActiveModel::insert() trigger ActiveModelBehavior::after_save()
|
2021-10-15 17:43:39 +08:00 |
|
Chris Tsang
|
760c439c83
|
Unit test DeriveIntoActiveModel
|
2021-10-13 18:58:00 +08:00 |
|
Chris Tsang
|
d5e95b0f8f
|
Merge pull request #240 from Acidic9/feat/into-active-model-derive
Add derive `DeriveIntoActiveModel` and `IntoActiveValue` trait
|
2021-10-13 18:30:09 +08:00 |
|
Billy Chan
|
6ecc3138c3
|
Use new ActiveValue::into_value()
|
2021-10-12 21:14:40 +08:00 |
|
Billy Chan
|
75e625fee9
|
ActiveModelBehavior without db connection
|
2021-10-12 20:42:42 +08:00 |
|
Billy Chan
|
5339696da2
|
Merge branch 'master' into active-model-behavior
|
2021-10-12 20:37:00 +08:00 |
|
Ari Seyhun
|
b582d3aac9
|
Merge branch 'master' of github.com:SeaQL/sea-orm into feat/into-active-model-derive
|
2021-10-12 18:31:34 +07:00 |
|
Ari Seyhun
|
1a9704eaad
|
Add support for Option<Option<T>> into active model
|
2021-10-12 18:27:45 +07: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 |
|
Ari Seyhun
|
4f64c66813
|
Add derive DeriveIntoActiveModel
|
2021-10-11 14:34:02 +07:00 |
|
Ari Seyhun
|
8667b2ddfc
|
Add trait IntoActiveValue
|
2021-10-11 14:33:47 +07:00 |
|
Billy Chan
|
23215c8dd5
|
fix clippy warnings
|
2021-10-08 18:22:25 +08:00 |
|
Billy Chan
|
2f90207d64
|
Remove PrimaryKeyValue trait
|
2021-10-08 18:10:19 +08:00 |
|
Chris Tsang
|
a2ec6cd351
|
Rename MockTransaction -> Transaction
|
2021-10-07 18:00:11 +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
|
df4df87d09
|
Rename Transaction -> MockTransaction
|
2021-10-04 21:37:12 +08:00 |
|
Chris Tsang
|
4fd5d56dbf
|
cargo +nightly fmt
|
2021-10-04 13:13:36 +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 |
|
Billy Chan
|
01fecbc405
|
Merge remote-tracking branch 'origin/master' into active-model-behavior
|
2021-10-04 11:47:38 +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 |
|
Chris Tsang
|
a0be9239bd
|
Doc
|
2021-10-01 23:41:12 +08:00 |
|
Chris Tsang
|
656e503a52
|
Doc
|
2021-10-01 13:33:05 +08:00 |
|
Chris Tsang
|
a6dfb417e2
|
Merge pull request #207 from SeaQL/naive-date
Support `chrono::NaiveDate` & `chrono::NaiveTime`
|
2021-09-30 22:52:31 +08:00 |
|
Chris Tsang
|
ca296bc941
|
Feature guard macros
|
2021-09-30 22:25:31 +08:00 |
|
Billy Chan
|
5497810afb
|
Remove unnecessary trait bounds
|
2021-09-30 11:49:27 +08:00 |
|
Billy Chan
|
088bfd01e7
|
Add unit tests
|
2021-09-30 11:19:17 +08:00 |
|
Billy Chan
|
02066cef6e
|
Support chrono::NaiveTime
|
2021-09-30 10:34:38 +08:00 |
|
Billy Chan
|
f7e96b3d72
|
Support chrono::NaiveDate
|
2021-09-30 10:34:38 +08:00 |
|
Billy Chan
|
ef1eb577b7
|
Update ActiveModelBehavior API
|
2021-09-30 10:31:58 +08:00 |
|
Billy Chan
|
ba66de16b6
|
Merge remote-tracking branch 'origin/master' into last-insert-id
|
2021-09-28 18:23:30 +08:00 |
|
Chris Tsang
|
85eadd38d2
|
Change mock connector behavior to mock Postgres regardless of feature flags
|
2021-09-28 13:57:44 +08:00 |
|
Chris Tsang
|
0cfa8784a3
|
Merge pull request #182 from SeaQL/find-linked-join-alias
`find_linked` join with table alias
|
2021-09-28 13:19:49 +08:00 |
|
Billy Chan
|
f79a417150
|
Remove ValueType: Default
|
2021-09-27 18:01:38 +08:00 |
|
baoyachi
|
2ccc8c527a
|
cargo fmt
|
2021-09-27 11:49:20 +08:00 |
|
Billy Chan
|
ee504e7d9f
|
find_linked join with table alias
|
2021-09-27 10:36:32 +08:00 |
|
Chris Tsang
|
f22d93ce21
|
Unit test for DeriveEntityModel
|
2021-09-26 16:33:04 +08:00 |
|
Chris Tsang
|
bfa66915e3
|
Update Entity::update example
|
2021-09-21 11:10:54 +08:00 |
|
Billy Chan
|
c9047d49e7
|
Update README & lib.rs
|
2021-09-20 18:30:31 +08:00 |
|
Chris Tsang
|
89661ae3d0
|
Merge pull request #173 from SeaQL/pg-timestamp-tz
`TimestampWithTimeZone` Fixups
|
2021-09-17 23:38:47 +08:00 |
|
Chris Tsang
|
b1b5f95c1d
|
Unit tests
|
2021-09-17 22:22:10 +08:00 |
|
Billy Chan
|
37d390e500
|
WIP
|
2021-09-17 19:04:18 +08:00 |
|
Billy Chan
|
6e7e2a59d3
|
cargo fmt
|
2021-09-17 15:16:30 +08:00 |
|
Chris Tsang
|
2e1371537a
|
Merge FromQueryResultExt into FromQueryResult
|
2021-09-17 15:04:37 +08:00 |
|
Muhannad Alrusayni
|
e71a74b0c1
|
Improve working with raw SQL
- Add `find_by_statement` to `T: FromQueryResult`
- Add `SelectorRaw::from_statement` constructor
|
2021-09-16 18:06:02 +03:00 |
|
Chris Tsang
|
8a4996300f
|
Refactor Link
|
2021-09-15 12:17:21 +08:00 |
|