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

Struct WhereCommand

ast/ast.go:325–328  ·  view source on GitHub ↗

WhereCommand - Part of Command that represent Where statement with expression that will qualify values from Select Example: WHERE column1 NOT 'goodbye' OR column2 EQUAL 3;

Source from the content-addressed store, hash-verified

323// Example:
324// WHERE column1 NOT 'goodbye' OR column2 EQUAL 3;
325type WhereCommand struct {
326 Token token.Token
327 Expression Expression
328}
329
330func (ls WhereCommand) CommandNode() {}
331func (ls WhereCommand) TokenLiteral() string { return ls.Token.Literal }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected