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

TypeAlias Eq

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

Eq is syntactic sugar for use with Where/Having/Set methods.

Source from the content-addressed store, hash-verified

135
136// Eq is syntactic sugar for use with Where/Having/Set methods.
137type Eq map[string]interface{}
138
139func (eq Eq) toSQL(useNotOpr bool) (sql string, args []interface{}, err error) {
140 if len(eq) == 0 {

Callers 3

ToSqlMethod · 0.85
TestWherePartMapFunction · 0.85
ToSqlMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected