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

Method ToSql

expr.go:400–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

398type Or conj
399
400func (o Or) ToSql() (string, []interface{}, error) {
401 return conj(o).join(" OR ", sqlFalse)
402}
403
404func getSortedKeys(exp map[string]interface{}) []string {
405 sortedKeys := make([]string, 0, len(exp))

Callers

nothing calls this directly

Calls 2

conjTypeAlias · 0.85
joinMethod · 0.80

Tested by

no test coverage detected