Function parse_one
Source pub fn parse_one(sql: &str, dialect: DialectType) -> Result<Expression>
Expand description
Parse a single SQL statement.
§Arguments
sql - The SQL string containing a single statement
dialect - The dialect to use for parsing
§Returns
The parsed expression, or an error if multiple statements found