Skip to main content

parse_sql

Function parse_sql 

Source
fn parse_sql(sql: &str) -> Result<Vec<Statement<Raw>>, ()>
Expand description

Parse a SQL string into a list of raw AST statements.

Returns Err(()) on any parse failure. Used only for cache reconstruction where detailed error reporting is unnecessary — a parse failure simply means the cache entry is stale.