Tags: nanjj/gorm
Tags
Release Version 1.9.2 ac0dd91 Check valuer interface before scan value 742154b rewrite if-else chain as switch statement (go-gorm#2121) f6260a0 Second part of the defaultTableName field race fix (go-gorm#2060) 5be9bd3 Rollback transaction when a panic happens in callback (go-gorm#2093) 123d4f5 lock TagSettings structure when modified (go-gorm#1796) 282f11a Support only preloading (go-gorm#1926) 588b598 Fix issue updating models with foreign key constraints (go-gorm#1988) 26fde91 getValueFromFields doesn't panic on nil pointers (go-gorm#2021) 012d147 Improve preload speed (go-gorm#2058) 73e7561 Use sync.Map for DB.values (go-gorm#2064) d3e666a save_associations:true should store related item (go-gorm#2067) 12607e8 for go1.11 go mod (go-gorm#2072) 71b7f19 Fix scanning identical column names occurring >2 times (go-gorm#2080) dc3b247 Don't save ignored fields into database 6f58f8a added naming strategy option for db, table and column names (go-gorm#2040) 3245508 doc: document ErrRecordNotFound error more clear (go-gorm#2015) 5399529 Change buildCondition TableName to struct's TableName when query is interface{} (go-gorm#2011) 31ec925 Setting gorm:auto_preload to false now prevents preloading (go-gorm#2031) 0e04d41 Race fix. Changes modelStructsMap implementation from map with mutex to sync.Map (go-gorm#2022) 409121d Fixed mysql query syntax for FK removal (go-gorm#1993) d68403b do not close wrapped *sql.DB (go-gorm#1985) 588e2ee Fix typo in query_test (go-gorm#1977) ac3ec85 Edit DB.clone(), DB.Dialect(), and Scope.Dialect() preserve transactions (go-gorm#1939) dbb25e9 Adding json type for mssql dialect, similar to postgres.Jsonb (go-gorm#1934) 0fd395a Fix ToDBName (go-gorm#1941) 1907bff all: gofmt (go-gorm#1956) 82eb9f8 included actual sql query to discover fi foreign key with the same name exists in a specific table of the database in use (go-gorm#1896) a58b98a Do not panic if Begin().Error was ignored (go-gorm#1830) (go-gorm#1881) 9044197 Adding GetDialect function (go-gorm#1869) 35efe68 add simple input validation on gorm.Open function (go-gorm#1855) 6842b49 fix scope.removeForeignKey method (go-gorm#1841) 919c6db Do not panic if Begin().Error was ignored (go-gorm#1830) 52c5c81 Support for UTF8 names on DB (go-gorm#1793)