pub fn parse_with_comments(sql: &str, _dialect: Dialect) -> Result<Statement>Expand description
Parse a SQL string into a Statement AST, preserving SQL comments.
Comments are attached to the nearest AST node and survive through transformation and generation.
ยงErrors
Returns a SqlglotError if the input
is not valid SQL.