Jinzhu
|
940da051a7
|
Skip nested associations when create data with Select, close #4108
|
2021-02-23 19:35:24 +08:00 |
Jinzhu
|
deff0594ee
|
Save associations based on creatable/updatable permission, close #4056
|
2021-02-07 14:24:11 +08:00 |
Jinzhu
|
6d260a86bd
|
Fix Set/Get settings when saving associations, close #3908
|
2021-01-05 21:12:31 +08:00 |
Jinzhu
|
77bf4aecc6
|
Create associations w/o nested transaction option
|
2020-12-18 13:25:52 +08:00 |
Andrei Baibaratsky
|
f2321ca164
|
Fixed creation of associated records with composite primary keys (go-gorm#3817) (#3818)
|
2020-12-03 15:00:26 +08:00 |
Jinzhu
|
6186a4daa7
|
allow SkipHooks when preload & save associations
|
2020-11-20 16:56:52 +08:00 |
Jinzhu
|
a1a30c38de
|
Allow to omit fields when upsert associations, close #3762
|
2020-11-18 19:06:49 +08:00 |
Jinzhu
|
54b80b18bc
|
Allow to omit fields in associations, close #3752
|
2020-11-17 21:49:40 +08:00 |
Jinzhu
|
50df9da6a1
|
Allow to skip associations when creating join table for many2many, close #3605
|
2020-11-17 20:24:08 +08:00 |
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 |