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

Function newPart

part.go:13–15  ·  view source on GitHub ↗
(pred interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

11}
12
13func newPart(pred interface{}, args ...interface{}) Sqlizer {
14 return &part{pred, args}
15}
16
17func (p part) ToSql() (sql string, args []interface{}, err error) {
18 switch pred := p.pred.(type) {

Callers 10

CaseFunction · 0.85
FromMethod · 0.85
newWhenPartFunction · 0.85
whatMethod · 0.85
ElseMethod · 0.85
ColumnsMethod · 0.85
ColumnMethod · 0.85
FromMethod · 0.85
JoinClauseMethod · 0.85
OrderByClauseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…