MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / ContainExpression

Struct ContainExpression

ast/ast.go:114–118  ·  view source on GitHub ↗

ContainExpression - TokenType of Expression that represents structure for IN operator Example: colName IN ('value1', 'value2', 'value3')

Source from the content-addressed store, hash-verified

112// Example:
113// colName IN ('value1', 'value2', 'value3')
114type ContainExpression struct {
115 Left Identifier // name of column
116 Right []Anonymitifier // name of column
117 Contains bool // IN or NOTIN
118}
119
120func (ls ContainExpression) GetIdentifiers() []Identifier {
121 return []Identifier{ls.Left}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected