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

Struct caseData

case.go:56–60  ·  view source on GitHub ↗

caseData holds all the data required to build a CASE SQL construct

Source from the content-addressed store, hash-verified

54
55// caseData holds all the data required to build a CASE SQL construct
56type caseData struct {
57 What Sqlizer
58 WhenParts []whenPart
59 Else Sqlizer
60}
61
62// ToSql implements Sqlizer
63func (d *caseData) ToSql() (sqlStr string, args []interface{}, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected