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 9cb2383 commit c2b3877Copy full SHA for c2b3877
database/db.go
@@ -265,6 +265,10 @@ func (db *DB) BuildColumns(subject interface{}) []string {
265
return slices.Clone(db.columnMap.Columns(subject))
266
}
267
268
+func (db *DB) BuildInsertStatement(stmt InsertStatement) string {
269
+ return db.queryBuilder.InsertStatement(stmt)
270
+}
271
+
272
// BuildDeleteStmt returns a DELETE statement for the given struct.
273
func (db *DB) BuildDeleteStmt(from interface{}) string {
274
return fmt.Sprintf(
0 commit comments