Parses a SELECT (or WITH, VALUES, TABLE) statement with optional AS OF.
(&mut self)
| 7488 | |
| 7489 | /// Parses a SELECT (or WITH, VALUES, TABLE) statement with optional AS OF. |
| 7490 | fn parse_select_statement(&mut self) -> Result<SelectStatement<Raw>, ParserError> { |
| 7491 | Ok(SelectStatement { |
| 7492 | query: self.parse_query()?, |
| 7493 | as_of: self.parse_optional_as_of()?, |
| 7494 | }) |
| 7495 | } |
| 7496 | |
| 7497 | /// Parse a query expression, i.e. a `SELECT` statement optionally |
| 7498 | /// preceded with some `WITH` CTE declarations and optionally followed |
no test coverage detected