heige
74e7a9ca07
Optimize reflect value length and method ( #4280 )
...
* Respect ignore migration when add column (#4276 )
continue https://github.com/go-gorm/gorm/pull/4028
* feat: Optimal value type acquisition for v (#4278 )
* feat: optimize relect value length and value
* feat: optimize ConvertSliceOfMapToValuesForCreate method
Co-authored-by: yrong1997 <yrong1997@gmail.com>
2021-04-14 13:00:54 +08:00
Shubhendra Singh Chauhan
0348b1d3c1
chore: improve code quality ( #4123 )
...
* Combine multiple `append`s into a single call
* Clean up copied struct fields with type conversion
* Remove unnecessary use of slice
2021-03-08 10:46:43 +08:00
Jinzhu
1e241aa645
Reduce GC alloc
2020-11-10 21:23:20 +08:00
Jinzhu
1a526e6802
Fix NamingStrategy with embedded struct, close #3513
2020-09-24 11:32:38 +08:00
Jinzhu
2b510d6423
Don't create index for join table, close #3294
2020-08-21 15:40:50 +08:00
Jinzhu
dc48e04896
Fix nested embedded struct, close #3278
2020-08-18 11:21:40 +08:00
Jinzhu
2676fa4fb8
Remove autoincrement tag for join table, close #3217
2020-07-31 18:19:25 +08:00
Jinzhu
2ae0653af2
Fix ambiguous column when using same column name in join table, close #3120
2020-07-09 09:03:48 +08:00
Jinzhu
e986371a42
Rename package name
2020-06-02 09:18:01 +08:00
Jinzhu
b71171dd92
Add more preload tests
2020-06-02 01:34:00 +08:00
Jinzhu
e60a8d54ff
Test Nested Preload
2020-05-24 00:52:25 +08:00
Jinzhu
590f622674
Refactor create tests
2020-05-23 22:32:16 +08:00
Jinzhu
5ec4fee797
Don't preload if foreign keys zero
2020-05-23 21:09:03 +08:00
Jinzhu
20cb57b1ac
Add association Delete support
2020-05-20 02:03:43 +08:00
Jinzhu
59365b776b
Refacotr Preload
2020-05-18 13:07:11 +08:00
Jinzhu
56ca9a87e0
Add permission check when create associations
2020-04-16 10:29:18 +08:00
Jinzhu
ea0b13f7a3
Refactor ParseTagSetting
2020-02-22 07:59:09 +08:00
Jinzhu
14724ddeae
Add tests model definition and basic fields tests
2020-02-01 20:18:32 +08:00
Jinzhu
fd9b688084
Implement parse many2many relation
2020-02-01 18:02:19 +08:00
Jinzhu
eea78f3f30
Implement parse relationship architecture
2020-02-01 12:46:52 +08:00
Jinzhu
1079e17caf
Implement schema parser
2020-01-31 12:46:16 +08:00