11 Commits

Author SHA1 Message Date
Eyal
ce2592b5ae lock TagSettings structure when modified
The map is modified in different places in the code which results in race conditions
on execution.
This commit locks the map with read-write lock when it is modified
2018-03-14 10:40:50 +02:00
Jinzhu
2940c553eb Add DB setting gorm:association_save_reference 2018-02-10 18:01:41 +08:00
Jinzhu
b2b568daa8 Add tag association_autoupdate, association_autocreate, association_save_reference support 2018-02-10 17:34:02 +08:00
Jinzhu
43dc867644 Allow save association relations w/o saving association 2018-02-10 17:34:02 +08:00
joe-at-startupmedia
9f409820df Formatting code with gomt 2018-02-10 17:34:02 +08:00
joe-at-startupmedia
9235b47ea2 Allows foreign keys to be saved without saving the assoication when specified #1628 2018-02-10 17:34:02 +08:00
Jinzhu
4a540f3ac8 Add tag to support skip nested save for associations 2016-10-27 10:31:46 +08:00
Jinzhu
afaadc3942 Refactor named value support for PolymorphicType 2016-10-06 20:33:48 +08:00
slockij
1413e55339 Add named value for PolymorphicType (to replace scope.TableName) 2016-09-28 22:44:43 +02:00
Jinzhu
d08894cd69 Rename test files 2016-03-08 22:00:15 +08:00
Jinzhu
317e1a9a48 Keep refactoring callbacks 2016-01-17 16:28:32 +08:00