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

Function newWhenPart

case.go:51–53  ·  view source on GitHub ↗
(when interface{}, then interface{})

Source from the content-addressed store, hash-verified

49}
50
51func newWhenPart(when interface{}, then interface{}) whenPart {
52 return whenPart{newPart(when), newPart(then)}
53}
54
55// caseData holds all the data required to build a CASE SQL construct
56type caseData struct {

Callers 1

WhenMethod · 0.85

Calls 1

newPartFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…