JoinCommand - Part of Command that represent JOIN statement with expression that will merge tables Example: JOIN tbl2 ON tbl1.id EQUAL tbl2.f_idy;
| 335 | // Example: |
| 336 | // JOIN tbl2 ON tbl1.id EQUAL tbl2.f_idy; |
| 337 | type JoinCommand struct { |
| 338 | Token token.Token |
| 339 | Name Identifier // ex. name of table |
| 340 | JoinType token.Token |
| 341 | Expression Expression |
| 342 | } |
| 343 | |
| 344 | func (ls JoinCommand) CommandNode() {} |
| 345 | func (ls JoinCommand) TokenLiteral() string { return ls.Token.Literal } |
nothing calls this directly
no outgoing calls
no test coverage detected