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

Method ToSql

expr.go:218–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216type NotEq Eq
217
218func (neq NotEq) ToSql() (sql string, args []interface{}, err error) {
219 return Eq(neq).toSQL(true)
220}
221
222// Like is syntactic sugar for use with LIKE conditions.
223// Ex:

Callers 5

TestNotEqToSqlFunction · 0.95
TestEqNotInToSqlFunction · 0.95
TestNotEqInEmptyToSqlFunction · 0.95
TestNilPointerFunction · 0.95
TestNotNilPointerFunction · 0.95

Calls 2

EqTypeAlias · 0.85
toSQLMethod · 0.80

Tested by 5

TestNotEqToSqlFunction · 0.76
TestEqNotInToSqlFunction · 0.76
TestNotEqInEmptyToSqlFunction · 0.76
TestNilPointerFunction · 0.76
TestNotNilPointerFunction · 0.76