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

Struct SqlWhere

rel/sql.go:142–149  ·  view source on GitHub ↗

SqlWhere WHERE is select stmt, or set of expressions - WHERE x in (select name from q) - WHERE x = y - WHERE x = y AND z = q - WHERE tolower(x) IN (select name from q)

Source from the content-addressed store, hash-verified

140 // - WHERE x = y AND z = q
141 // - WHERE tolower(x) IN (select name from q)
142 SqlWhere struct {
143 // Either Op + Source exists
144 Op lex.TokenType // (In|=|ON) for Select Clauses operators
145 Source *SqlSelect // IN (SELECT a,b,c from z)
146
147 // OR expr but not both
148 Expr expr.Node // x = y AND q > 5
149 }
150 // SqlInsert SQL Insert Statement
151 SqlInsert struct {
152 kw lex.TokenType // Insert, Replace

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected