baoyachi
|
86f2d7e327
|
fix #200
* adapter postgrel url scheme
* refactor DbScheme
|
2021-09-27 11:45:54 +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
|
1eb0e5cbb2
|
Fix doc tests
|
2021-09-26 22:36:20 +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
|
f7b1c9b59a
|
Edit README
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
c66a2491ce
|
Edit README
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
a2ef73783c
|
cargo fmt
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
2176bad009
|
Indentation
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
5c8caddf1f
|
Update docs
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
bb225b12ee
|
Rocket example page number starts from one
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
ce35317daf
|
Refactor rocket example
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
b22753bebf
|
Test try_join!
|
2021-09-20 18:30:31 +08:00 |
|
Billy Chan
|
c9047d49e7
|
Update README & lib.rs
|
2021-09-20 18:30:31 +08:00 |
|
Chris Tsang
|
5d1488f12d
|
Merge pull request #175 from MuhannadAlrusayni/master
Impl `TryGetableMany` for diffrent types of generices
|
2021-09-19 01:54:00 +08:00 |
|
Billy Chan
|
3093cd2035
|
DatabaseConnection impl Sync, Send and Clone
|
2021-09-18 23:17:29 +08:00 |
|
Chris Tsang
|
558cf5904a
|
Test suite: drop table if exists, instead of create table if not exists
|
2021-09-18 15:40:47 +08:00 |
|
Muhannad Alrusayni
|
15db5d2933
|
clean up some comments
|
2021-09-17 22:45:05 +03:00 |
|
Muhannad Alrusayni
|
3bf26a758a
|
impl TryFromU64 for tuples types
|
2021-09-17 22:41:49 +03:00 |
|
Muhannad Alrusayni
|
56dd19ef75
|
Impl TryGetableMany for diffrent types of generices
|
2021-09-17 21:59:38 +03: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 |
|
Chris Tsang
|
5509048550
|
Merge pull request #166 from SeaQL/model-ignore-attribute
Model ignore attributes
|
2021-09-17 17:20:42 +08:00 |
|
Billy Chan
|
a45c44cfc5
|
Add cake_expanded entity file for docs demo
|
2021-09-17 17:20:07 +08:00 |
|
Chris Tsang
|
a280a227d8
|
TODO
|
2021-09-17 16:04:07 +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 |
|
Muhannad Alrusayni
|
9107c9010a
|
add into_model() for Statement
|
2021-09-16 11:47:31 +03:00 |
|
Billy Chan
|
4e7bf8b836
|
Testing
|
2021-09-16 13:11:26 +08:00 |
|
Chris Tsang
|
8a4996300f
|
Refactor Link
|
2021-09-15 12:17:21 +08:00 |
|
Chris Tsang
|
2ac8fe664e
|
Docs
|
2021-09-12 22:17:17 +08:00 |
|
Chris Tsang
|
182c96e384
|
Fix clippy warning
|
2021-09-11 15:53:34 +08:00 |
|
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 |
|