Skip to main content

Module array_stmt

Module array_stmt 

Source
Expand description

Recursive-descent parser for NodeDB array DDL/DML.

Recognises CREATE ARRAY, DROP ARRAY, INSERT INTO ARRAY, and DELETE FROM ARRAY — non-standard syntax that sqlparser-rs cannot accept. try_parse_array_statement returns None for any other input so the caller can fall through to the standard sqlparser path.

Re-exports§

pub use ast::AlterArrayAst;
pub use ast::ArrayStatement;
pub use ast::CreateArrayAst;
pub use ast::DeleteArrayAst;
pub use ast::DropArrayAst;
pub use ast::InsertArrayAst;
pub use parse::try_parse_array_statement;

Modules§

ast
Typed AST returned by the array-statement parser.
lexer
Tiny hand-written tokenizer for array DDL/DML.
parse
Recursive-descent parser for the four ARRAY statements.