We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WHERE
DELETE
id IN (?)
ON DUPLICATE KEY
col = col + VALUES(col)
string
[]string
// Using query builder directly sql := NewQueryBuilder(db, subject).SetColumns(columns).Insert() db.NamedBulkExec(ctx, sql, ch) // Functional options db.Upsert(ctx, ch, options.SetColumns(columns)) // Using query builder directly #2 upsert := qb.Upsert(subject).Columns(columns) db.NamedBulkExec(ctx, upsert, ch) // or upsert.Stream(ctx, db, ch) db.Upsert().Columns(columns).Exec() // .Stream() qb.Upsert().Columns().Exec(ctx, db, setofData) // .Stream(ctx, db, ch)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Requirements
WHERE
clause used in statements must be adjustable. Default forDELETE
for example isid IN (?)
at the moment.ON DUPLICATE KEY
may specifycol = col + VALUES(col)
.string
,[]string
.Possible API
The text was updated successfully, but these errors were encountered: