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

TypeAlias Like

expr.go:225–225  ·  view source on GitHub ↗

Like is syntactic sugar for use with LIKE conditions. Ex: .Where(Like{"name": "%irrel"})

Source from the content-addressed store, hash-verified

223// Ex:
224// .Where(Like{"name": "%irrel"})
225type Like map[string]interface{}
226
227func (lk Like) toSql(opr string) (sql string, args []interface{}, err error) {
228 var exprs []string

Callers 3

ToSqlMethod · 0.85
ToSqlMethod · 0.85
ToSqlMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected