Skip to main content

Module parse

Module parse 

Source
Expand description

Recursive-descent parser for the four ARRAY statements.

try_parse_array_statement returns Ok(None) for any SQL that does not begin with one of the array prefixes; this lets the caller fall through to the standard sqlparser path. When the prefix matches, the parser commits — any further error is surfaced as SqlError::Parse.

Functions§

try_parse_array_statement
Top-level entry. Returns Ok(None) if the SQL doesn’t start with an array statement keyword sequence.