Chris Tsang
|
f96c8ed49b
|
cargo fmt
|
2021-09-10 22:02:35 +08:00 |
|
Chris Tsang
|
c0ee423f0a
|
Refactor ActiveModel insert logic
|
2021-09-10 17:32:19 +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
|
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 |
|
Billy Chan
|
54bb358cca
|
DeriveEntityModel automatically derive DeriveModel and DeriveActiveModel
|
2021-09-08 22:02:24 +08:00 |
|
Chris Tsang
|
fa02a45fbf
|
Try more DeriveEntityModel
|
2021-09-07 23:00:16 +08:00 |
|
Chris Tsang
|
a186338ff5
|
Try DeriveRelation
|
2021-09-07 22:54:39 +08:00 |
|
Chris Tsang
|
46d9fd30e6
|
Try DeriveEntity
|
2021-09-07 22:08:57 +08:00 |
|
Chris Tsang
|
d3132d339d
|
Experiment on cake
|
2021-09-07 20:42:46 +08:00 |
|
Chris Tsang
|
0fff7fd054
|
Rename to DeriveEntityModel
|
2021-09-07 20:37:51 +08:00 |
|
Chris Tsang
|
76378d6c84
|
#133 Implement TryGetable for Vec<u8>
|
2021-09-07 18:27:13 +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 |
|
Chris Tsang
|
6c810673c4
|
Move entity_to_table_create_statement
|
2021-09-07 15:55:58 +08: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 |
|
Chris Tsang
|
4b2019ff4e
|
Readme
|
2021-09-06 16:54:39 +08:00 |
|
Chris Tsang
|
de1f5d397d
|
Readme
|
2021-09-04 22:24:01 +08:00 |
|
Chris Tsang
|
e9e864c382
|
Readme
|
2021-09-03 23:35:17 +08:00 |
|
Chris Tsang
|
60fdc78766
|
Move RocketDbPool
|
2021-09-03 23:12:49 +08:00 |
|
Chris Tsang
|
9be7440e58
|
Readme
|
2021-09-03 22:09:20 +08:00 |
|
Sam Samai
|
71926cfd4b
|
Merge branch 'master' into ss/rocket-example
# Conflicts:
# Cargo.toml
|
2021-09-03 22:33:16 +10:00 |
|
Sam Samai
|
3f41f92690
|
Order posts by id
|
2021-09-03 22:20:46 +10:00 |
|
Billy Chan
|
5060890888
|
cargo +nightly fmt
|
2021-09-03 14:56:58 +08:00 |
|
Billy Chan
|
b32fe669fa
|
Merge pull request #123 from SeaQL/logging
Logging
|
2021-09-03 14:49:52 +08:00 |
|
Billy Chan
|
b5d85486dd
|
Fixup
|
2021-09-03 14:35:20 +08:00 |
|
Chris Tsang
|
d212b62ce5
|
Fixup
|
2021-09-03 14:34:20 +08:00 |
|
Billy Chan
|
9d5ce08ff8
|
Logging
|
2021-09-03 14:27:38 +08:00 |
|
Billy Chan
|
7f38621c3c
|
Set clippy deny
|
2021-09-03 14:26:57 +08:00 |
|
Chris Tsang
|
a781cc6610
|
Reduce panic
|
2021-09-03 14:21:51 +08:00 |
|
Chris Tsang
|
c8e2232875
|
Reduce panic
|
2021-09-03 14:17:07 +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 |
|
Chris Tsang
|
ca13b1b760
|
Merge pull request #102 from bobbyng626/bobby/001
Create Table Statement
|
2021-09-03 12:08:45 +08:00 |
|
Billy Chan
|
541b94f15d
|
Update query helper column_as
|
2021-09-03 11:23:29 +08:00 |
|
Sam Samai
|
3f6b2e3516
|
Merge branch 'master' into ss/rocket-example
|
2021-09-02 22:30:59 +10:00 |
|
Sam Samai
|
5f47421b38
|
Remove sqlx dir and clean up
|
2021-09-02 21:47:55 +10:00 |
|
Sam Samai
|
b825df1331
|
Get db_url from Db in run_migrations
|
2021-09-02 21:33:28 +10:00 |
|
Billy Chan
|
0db9021da0
|
Update tests
|
2021-09-02 16:30:57 +08:00 |
|
Billy Chan
|
3cf8866620
|
Merge branch 'master' into linked-api
|
2021-09-02 15:26:37 +08:00 |
|
Billy Chan
|
e72d8a9e04
|
Use TryGetableMany
|
2021-09-02 11:26:40 +08:00 |
|
Billy Chan
|
d664985ea9
|
WIP
|
2021-09-01 23:24:43 +08:00 |
|