Skip to main content

parse_statements

Function parse_statements 

Source
pub fn parse_statements(sql: &str) -> Result<Vec<Statement>, ParserError>
Expand description

PG dialect first (for ? / ?| / ?& JSON ops + TRUNCATE CASCADE); fall back to Generic on parse error (for SQLite-style TRIM(s, c) etc.).