Skip to content

Commit 0f9de58

Browse files
committed
support gdb.OnConflict
1 parent 03b1bd4 commit 0f9de58

File tree

1 file changed

+1
-0
lines changed
  • src/main/kotlin/com/github/oldmegit/goframehelper/data/callUtil/orm

1 file changed

+1
-0
lines changed

src/main/kotlin/com/github/oldmegit/goframehelper/data/callUtil/orm/OrmCallables.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ val OrmCallables = GoCallableDescriptorSet(
7373

7474
// https://github.com/gogf/gf/blob/master/database/gdb/gdb_model_insert.go
7575
GoMethodDescriptor.of("(*github.com/gogf/gf/database/gdb.Model).Data"),
76+
GoMethodDescriptor.of("(*github.com/gogf/gf/database/gdb.Model).OnConflict"),
7677
GoMethodDescriptor.of("(*github.com/gogf/gf/database/gdb.Model).OnDuplicate"),
7778
GoMethodDescriptor.of("(*github.com/gogf/gf/database/gdb.Model).OnDuplicateEx"),
7879
GoMethodDescriptor.of("(*github.com/gogf/gf/database/gdb.Model).Insert"),

0 commit comments

Comments
 (0)