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 |
|
Chris Tsang
|
c0ee423f0a
|
Refactor ActiveModel insert logic
|
2021-09-10 17:32:19 +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
|
19ec35f1b5
|
Revert breaking changes
|
2021-09-10 12:58:28 +08:00 |
|
Billy Chan
|
11208d627b
|
Move ActiveModel CRUD actions into ActiveModelTrait
|
2021-09-10 12:58:27 +08:00 |
|
Billy Chan
|
f4d1a52791
|
Change update behavior, add ActiveModel insert & update
|
2021-09-10 12:56:41 +08:00 |
|
Chris Tsang
|
eca3949ea9
|
Merge pull request #135 from SeaQL/entity-format
Entity format
|
2021-09-10 12:55:05 +08:00 |
|
Chris Tsang
|
a186338ff5
|
Try DeriveRelation
|
2021-09-07 22:54:39 +08:00 |
|
Chris Tsang
|
0fff7fd054
|
Rename to DeriveEntityModel
|
2021-09-07 20:37:51 +08:00 |
|
Marco Napetti
|
a4d70dfa55
|
Merge branch 'entity-format' into entity_model_macro
|
2021-09-07 10:09:34 +02:00 |
|
Marco Napetti
|
c273cf0a39
|
Manage schema_name attribute, add prelude export, update example
|
2021-09-07 10:04:33 +02:00 |
|
Billy Chan
|
b100e32ffd
|
Rename entity_to_table_create_statement
|
2021-09-07 15:47:04 +08:00 |
|
Billy Chan
|
a5b230f67c
|
Add back panics
|
2021-09-06 22:30:51 +08:00 |
|
Billy Chan
|
26cd0846d2
|
Remove generics on find_by_id
|
2021-09-06 22:30:51 +08:00 |
|
Chris Tsang
|
8d8415817d
|
Add nullable to ColumnDef
|
2021-09-06 17:11:19 +08:00 |
|
Billy Chan
|
5060890888
|
cargo +nightly fmt
|
2021-09-03 14:56:58 +08:00 |
|
Billy Chan
|
b5d85486dd
|
Fixup
|
2021-09-03 14:35:20 +08:00 |
|
Billy Chan
|
7f38621c3c
|
Set clippy deny
|
2021-09-03 14:26:57 +08:00 |
|
Chris Tsang
|
76596da46a
|
Merge pull request #117 from SeaQL/primary-key-type
`InsertResult` to return the primary key's type
|
2021-09-03 14:15:11 +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 |
|