MCPcopy Create free account
hub / github.com/araddon/qlbridge / convertIdentityToValue

Function convertIdentityToValue

rel/parse_sql.go:1965–1975  ·  view source on GitHub ↗
(n expr.Node)

Source from the content-addressed store, hash-verified

1963}
1964
1965func convertIdentityToValue(n expr.Node) {
1966 switch nt := n.(type) {
1967 case *expr.BinaryNode:
1968 switch rhn := nt.Args[1].(type) {
1969 case *expr.IdentityNode:
1970 rh2 := expr.NewStringNode(rhn.Text)
1971 rh2.Quote = rhn.Quote
1972 nt.Args[1] = rh2
1973 }
1974 }
1975}
1976
1977func (m *Sqlbridge) parseLimit(req *SqlSelect) error {
1978 if m.Cur().T != lex.TokenLimit {

Callers 1

parseCommandColumnsMethod · 0.85

Calls 1

NewStringNodeFunction · 0.92

Tested by

no test coverage detected