Skip to main content

parse_statements_with_comments

Function parse_statements_with_comments 

Source
pub fn parse_statements_with_comments(
    sql: &str,
    _dialect: Dialect,
) -> Result<Vec<Statement>>
Expand description

Parse multiple semicolon-separated SQL statements, preserving comments.

ยงErrors

Returns a SqlglotError if parsing fails.