Function mz_sql_parser::parser::parse_statements_with_limit
source ยท pub fn parse_statements_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.