MCPcopy
hub / github.com/sqldef/sqldef / NewIntVal

Function NewIntVal

parser/node.go:2194–2196  ·  view source on GitHub ↗

NewIntVal builds a new IntVal.

(in string)

Source from the content-addressed store, hash-verified

2192
2193// NewIntVal builds a new IntVal.
2194func NewIntVal(in string) *SQLVal {
2195 return &SQLVal{Type: IntVal, Val: in}
2196}
2197
2198// NewFloatVal builds a new FloatVal.
2199func NewFloatVal(in string) *SQLVal {

Callers 4

parseExprMethod · 0.92
parseDefaultValueMethod · 0.92
normalizeExprFunction · 0.92
ParseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected