MCPcopy
hub / github.com/sqldef/sqldef / NewBitVal

Function NewBitVal

parser/node.go:2214–2216  ·  view source on GitHub ↗

NewBitVal builds a new BitVal containing a bit literal.

(in string)

Source from the content-addressed store, hash-verified

2212
2213// NewBitVal builds a new BitVal containing a bit literal.
2214func NewBitVal(in string) *SQLVal {
2215 return &SQLVal{Type: BitVal, Val: in}
2216}
2217
2218// NewValArg builds a new ValArg.
2219func NewValArg(in string) *SQLVal {

Callers 2

parseExprMethod · 0.92
ParseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected