Function mz_sql::parse::parse_with_limit

source ยท
pub fn parse_with_limit(
    sql: &str,
) -> Result<Result<Vec<StatementParseResult<'_>>, ParserStatementError>, String>
Expand description

Parses a SQL string containing zero or more SQL statements. Statements larger than MAX_STATEMENT_BATCH_SIZE are rejected.

The outer Result is for errors related to the statement size. The inner Result is for errors during the parsing.