(t token.Type)
| 343 | } |
| 344 | |
| 345 | func isAggregateFunction(t token.Type) bool { |
| 346 | return t == token.MIN || t == token.MAX || t == token.COUNT || t == token.SUM || t == token.AVG |
| 347 | } |
| 348 | |
| 349 | // parseWhereCommand - Return ast.WhereCommand created from tokens and validate the syntax |
| 350 | // |