Jinzhu
|
26504f5cae
|
Use NewDB to replace WithConditions for Session
|
2020-11-17 16:28:37 +08:00 |
Jinzhu
|
1e241aa645
|
Reduce GC alloc
|
2020-11-10 21:23:20 +08:00 |
Jinzhu
|
c0de3c5051
|
Support FullSaveAssociations Mode, close #3487, #3506
|
2020-09-24 19:29:15 +08:00 |
Jinzhu
|
fcb666cfa3
|
Fix associations using composite primary keys without ID field, close #3365
|
2020-09-03 10:58:48 +08:00 |
Jinzhu
|
9fcc337bd1
|
Fix create from map
|
2020-08-17 17:41:36 +08:00 |
Jinzhu
|
4456df7a5d
|
Lint with golangci-lint
|
2020-07-16 11:27:12 +08:00 |
Jinzhu
|
3f355dc050
|
Refactor
|
2020-07-02 10:14:30 +08:00 |
Jinzhu
|
63e48191a8
|
Test failed to save association should rollback, close #3100
|
2020-07-01 21:28:19 +08:00 |
Jinzhu
|
f5566288de
|
Add SetColumn, Changed method
|
2020-06-30 16:53:54 +08:00 |
Jinzhu
|
a1e35bdc94
|
Support merge batch data some having primary values
|
2020-06-20 16:52:15 +08:00 |
Jinzhu
|
e986371a42
|
Rename package name
|
2020-06-02 09:18:01 +08:00 |
Jinzhu
|
1559fe24e5
|
Add more updates test
|
2020-06-01 19:41:33 +08:00 |
Jinzhu
|
befef0c9a9
|
Improve Hooks
|
2020-06-01 00:12:20 +08:00 |
Jinzhu
|
cc064f26ee
|
Add on conflict support
|
2020-05-25 23:11:42 +08:00 |
Jinzhu
|
135d9f8b03
|
Test HasMany Association for Slice
|
2020-05-25 11:57:58 +08:00 |
Jinzhu
|
68a7a8207a
|
Test HasOne Association
|
2020-05-24 23:07:42 +08:00 |
Jinzhu
|
91a695893c
|
Test Association For BelongsTo
|
2020-05-24 18:33:15 +08:00 |
Jinzhu
|
5ec4fee797
|
Don't preload if foreign keys zero
|
2020-05-23 21:09:03 +08:00 |
Jinzhu
|
2ca4e91d88
|
Fix LastInsertID with string primary key
|
2020-05-23 18:38:55 +08:00 |
Jinzhu
|
0f21272c7f
|
Finish implement association support
|
2020-05-20 23:44:50 +08:00 |
Jinzhu
|
85f3174467
|
Test has many associations
|
2020-04-22 09:38:32 +08:00 |
Jinzhu
|
43a814ae70
|
Add bulk create associations tests
|
2020-04-20 11:47:29 +08:00 |
Jinzhu
|
7bcd95d4b8
|
Add save associations for bulk create
|
2020-04-19 23:11:56 +08:00 |
Jinzhu
|
158bacefbe
|
Add save has many relations
|
2020-04-19 14:29:31 +08:00 |
Jinzhu
|
952df527db
|
Test create polymorphic has one
|
2020-04-17 08:40:11 +08:00 |
Jinzhu
|
fb44625c33
|
Save HasOne association
|
2020-04-17 08:23:47 +08:00 |
Jinzhu
|
56ca9a87e0
|
Add permission check when create associations
|
2020-04-16 10:29:18 +08:00 |