Skip to main content

parse_with_command_identities

Function parse_with_command_identities 

Source
pub fn parse_with_command_identities(
    sql: &str,
) -> Result<Vec<(Statement, CommandIdentity)>, ParseError>
Expand description

Parse statements and return the parser-owned accepted command identity for each one. Identity classification is the same mandatory gate used by parse.

ยงErrors

Returns a parse error when the SQL text cannot be tokenized, parsed, or classified.