MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / InExpression

Struct InExpression

pkg/sql/ast/ast.go:803–809  ·  view source on GitHub ↗

InExpression represents expr IN (values) or expr IN (subquery)

Source from the content-addressed store, hash-verified

801
802// InExpression represents expr IN (values) or expr IN (subquery)
803type InExpression struct {
804 Expr Expression
805 List []Expression // For value list: IN (1, 2, 3)
806 Subquery Statement // For subquery: IN (SELECT ...)
807 Not bool
808 Pos models.Location // Source position of the IN keyword (1-based line and column)
809}
810
811func (i *InExpression) expressionNode() {}
812func (i InExpression) TokenLiteral() string { return "IN" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected