pub fn parse_select_with_limits(
sql: &str,
limits: QueryLimits,
) -> Result<Statement, SqlError>Expand description
Like parse_select but with a caller-supplied QueryLimits.
ยงErrors
Returns SqlError::QueryTooLarge before invoking the parser if
the input exceeds limits.max_input_bytes; otherwise propagates
any parse / validation error.