Expand description
SQL Parser
Structs§
- Parser
Error - Parser
Statement Error - Statement
Parse Result - The result of successfully parsing a statement: both the AST and the SQL text that it corresponds to
Constants§
- MAX_
STATEMENT_ BATCH_ SIZE - Maximum allowed size for a batch of statements in bytes: 1MB.
Functions§
- parse_
data_ type - Parses a SQL string containing a single data type.
- parse_
expr - Parses a SQL string containing one SQL expression.
- parse_
item_ name - Parses a SQL item name (e.g.
"db"."schema"."table"ormy_view). - parse_
statements - Parses a SQL string containing zero or more SQL statements.
- parse_
statements_ with_ limit - Parses a SQL string containing zero or more SQL statements.
Statements larger than
MAX_STATEMENT_BATCH_SIZEare rejected. - split_
identifier_ string - Parses a string containing a comma-separated list of identifiers and returns their underlying string values.