OrderByCommand - Part of Command that ordering columns from SelectCommand Example: ORDER BY column1 ASC, column2 DESC;
| 395 | // Example: |
| 396 | // ORDER BY column1 ASC, column2 DESC; |
| 397 | type OrderByCommand struct { |
| 398 | Token token.Token |
| 399 | SortPatterns []SortPattern // column name and sorting type |
| 400 | } |
| 401 | |
| 402 | func (ls OrderByCommand) CommandNode() {} |
| 403 | func (ls OrderByCommand) TokenLiteral() string { return ls.Token.Literal } |
nothing calls this directly
no outgoing calls
no test coverage detected