MCPcopy
hub / github.com/Masterminds/squirrel / Where

Method Where

update.go:261–263  ·  view source on GitHub ↗

Where adds WHERE expressions to the query. See SelectBuilder.Where for more information.

(pred interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

259//
260// See SelectBuilder.Where for more information.
261func (b UpdateBuilder) Where(pred interface{}, args ...interface{}) UpdateBuilder {
262 return builder.Append(b, "WhereParts", newWherePart(pred, args...)).(UpdateBuilder)
263}
264
265// OrderBy adds ORDER BY expressions to the query.
266func (b UpdateBuilder) OrderBy(orderBys ...string) UpdateBuilder {

Calls 1

newWherePartFunction · 0.85