Skip to main content

Module parser

Module parser 

Source
Expand description

Minimal SQL parser for pgwire queries.

Parses a limited SQL subset and maps to Mnemo operations. This is not a full SQL parser — it handles the common patterns that clients will use to interact with the memories table.

Structs§

DeleteQuery
A parsed DELETE statement.
InsertQuery
A parsed INSERT statement.
SelectQuery
A parsed SELECT statement.

Enums§

ParsedStatement
Parsed SQL statement mapped to a Mnemo operation.

Functions§

parse_sql
Parse a SQL string into a ParsedStatement.