MCPcopy Index your code
hub / github.com/sqldef/sqldef / NewBoolSQLVal

Function NewBoolSQLVal

parser/node.go:2223–2225  ·  view source on GitHub ↗
(in bool)

Source from the content-addressed store, hash-verified

2221}
2222
2223func NewBoolSQLVal(in bool) *SQLVal {
2224 return &SQLVal{Type: ValBool, Val: fmt.Sprintf("%t", in)}
2225}
2226
2227// NewUnicode builds a new UnicodeStrVal.
2228func NewUnicodeStrVal(in string) *SQLVal {

Callers 3

parseDefaultValueMethod · 0.92
normalizeExprFunction · 0.92
ParseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected