Skip to main content

parse

Function parse 

Source
pub fn parse(sql: &str, dialect: DialectType) -> Result<Vec<Expression>>
Expand description

Parse SQL into an AST.

§Arguments

  • sql - The SQL string to parse
  • dialect - The dialect to use for parsing

§Returns

A vector of parsed expressions