We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13845d commit 6cd4ac5Copy full SHA for 6cd4ac5
version.go
@@ -128,7 +128,7 @@ func (v VersionUpdateClause) ModifyStatement(stmt *gorm.Statement) {
128
}
129
130
131
- // struct to map
+ // struct to map. version column is int64, but need set its value to string
132
dv := reflect.ValueOf(stmt.Dest)
133
if reflect.Indirect(dv).Kind() == reflect.Struct {
134
selectColumns, restricted := stmt.SelectAndOmitColumns(false, true)
0 commit comments