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

Struct JoinCommand

ast/ast.go:337–342  ·  view source on GitHub ↗

JoinCommand - Part of Command that represent JOIN statement with expression that will merge tables Example: JOIN tbl2 ON tbl1.id EQUAL tbl2.f_idy;

Source from the content-addressed store, hash-verified

335// Example:
336// JOIN tbl2 ON tbl1.id EQUAL tbl2.f_idy;
337type JoinCommand struct {
338 Token token.Token
339 Name Identifier // ex. name of table
340 JoinType token.Token
341 Expression Expression
342}
343
344func (ls JoinCommand) CommandNode() {}
345func (ls JoinCommand) TokenLiteral() string { return ls.Token.Literal }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected