Skip to main content

parse_with_dialect

Function parse_with_dialect 

Source
pub fn parse_with_dialect(
    sql: &str,
    dialect: SqlDialect,
) -> Result<Vec<Statement>, OxiSqlError>
Expand description

Parse a SQL string using a specific SqlDialect.

§Errors

Returns OxiSqlError::Parse if the string cannot be parsed.