SelectCommand - Part of Command that represent selecting values from tables Example: SELECT one, two FROM table1;
| 192 | // Example: |
| 193 | // SELECT one, two FROM table1; |
| 194 | type SelectCommand struct { |
| 195 | Token token.Token |
| 196 | Name Identifier // ex. name of table |
| 197 | Space []Space // ex. column names |
| 198 | HasDistinct bool // DISTINCT keyword has been used |
| 199 | WhereCommand *WhereCommand // optional |
| 200 | OrderByCommand *OrderByCommand // optional |
| 201 | LimitCommand *LimitCommand // optional |
| 202 | OffsetCommand *OffsetCommand // optional |
| 203 | JoinCommand *JoinCommand // optional |
| 204 | } |
| 205 | |
| 206 | func (ls SelectCommand) CommandNode() {} |
| 207 | func (ls SelectCommand) TokenLiteral() string { return ls.Token.Literal } |
nothing calls this directly
no outgoing calls
no test coverage detected