MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / AddWhere

Method AddWhere

sqlparser/ast.go:247–263  ·  view source on GitHub ↗

AddWhere adds the boolean expression to the WHERE clause as an AND condition. If the expression is an OR clause, it parenthesizes it. Currently, the OR operator is the only one that's lower precedence than AND.

(expr Expr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected