Skip to main content

parse

Function parse 

Source
pub fn parse(input: &str) -> Result<QueryWithCte, ParseError>
Expand description

Parse an RQL query string into a QueryWithCte. A leading WITH is consumed as a CTE prelude; any other statement is returned in the QueryWithCte::simple shape (with_clause: None). Callers that don’t care about CTEs read .query to recover the legacy QueryExpr shape.