MCPcopy Index your code
hub / github.com/Masterminds/squirrel / Prefix

Method Prefix

update.go:210–212  ·  view source on GitHub ↗

Prefix adds an expression to the beginning of the query

(sql string, args ...interface{})

Source from the content-addressed store, hash-verified

208
209// Prefix adds an expression to the beginning of the query
210func (b UpdateBuilder) Prefix(sql string, args ...interface{}) UpdateBuilder {
211 return b.PrefixExpr(Expr(sql, args...))
212}
213
214// PrefixExpr adds an expression to the very beginning of the query
215func (b UpdateBuilder) PrefixExpr(expr Sqlizer) UpdateBuilder {

Calls 2

PrefixExprMethod · 0.95
ExprFunction · 0.85