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 bfd7f85 commit db17851Copy full SHA for db17851
connection.go
@@ -76,6 +76,10 @@ type Connection interface {
76
// Optional ColumnFilter can be passed to ignore mapped columns.
77
InsertStruct(table string, rowStruct any, ignoreColumns ...ColumnFilter) error
78
79
+ // TODO optimized version with single query if possible
80
+ // split into multiple queries depending or maxArgs for query
81
+ // InsertStructs(table string, rowStructs any, ignoreColumns ...ColumnFilter) error
82
+
83
// InsertUniqueStruct inserts a new row into table using the connection's
84
// StructFieldMapper to map struct fields to column names.
85
0 commit comments