Skip to content

Commit 3239700

Browse files
committed
fix bugs
1 parent 537eceb commit 3239700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orm/query_insert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func (m Query[T]) InsertsIgnore(data []T, updates []UpdateColumn, tableFieldPtrs
2222
return m.insert(true, data, tableFieldPtrs, updates)
2323
}
2424

25-
func (m Query[T]) InsertSubquery(data SubQuery, tableFieldPtrs []interface{}, updates ...UpdateColumn) QueryResult {
25+
func (m Query[T]) InsertSubquery(data SubQuery, updates []UpdateColumn, tableFieldPtrs ...interface{}) QueryResult {
2626
return m.insert(true, data, tableFieldPtrs, updates)
2727
}
2828

0 commit comments

Comments
 (0)