Billy Chan
|
088bfd01e7
|
Add unit tests
|
2021-09-30 11:19:17 +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 |
|
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 |
|
Billy Chan
|
d14322ad75
|
WIP (workflow will fail)
|
2021-09-01 19:05:59 +08:00 |
|
Billy Chan
|
0e0ee0ede6
|
Add TryFromU64 & test Uuid as primary key
|
2021-09-01 16:53:54 +08:00 |
|
Billy Chan
|
ba4b938b69
|
Revert ColumnType::Binary changes
|
2021-09-01 13:02:57 +08:00 |
|
Billy Chan
|
5073c6f4aa
|
Relation with optional ForeignKeyAction
|
2021-09-01 10:35:51 +08:00 |
|
Billy Chan
|
5a0f1d0fd1
|
Try pretty_assertions
|
2021-08-31 19:05:54 +08:00 |
|
Billy Chan
|
5fbc7b146a
|
Refactoring & Testing
|
2021-08-31 18:31:01 +08:00 |
|
Billy Chan
|
d1d37fab07
|
cargo fmt
|
2021-08-31 12:49:33 +08:00 |
|
Billy Chan
|
8a81e43d2e
|
Rename to schema
|
2021-08-31 12:49:07 +08:00 |
|
Billy Chan
|
752cc4a44e
|
WIP
|
2021-08-29 19:39:01 +08:00 |
|
Billy Chan
|
ccfda51a5e
|
WIP
|
2021-08-28 23:48:13 +08:00 |
|
Billy Chan
|
9db0748c64
|
Non-static link
|
2021-08-28 20:20:34 +08:00 |
|
Billy Chan
|
484da8f6b6
|
WIP
|
2021-08-28 20:00:59 +08:00 |
|
Billy Chan
|
447947e355
|
Fix find_linked join direction
|
2021-08-26 23:28:27 +08:00 |
|
Bobby Ng
|
d80ea396ab
|
test1
|
2021-08-26 18:15:29 +08:00 |
|
Billy Chan
|
31941d3af6
|
WIP: Linked (#89)
|
2021-08-23 23:11:08 +08:00 |
|