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§
- Delete
Query - A parsed DELETE statement.
- Insert
Query - A parsed INSERT statement.
- Select
Query - A parsed SELECT statement.
Enums§
- Parsed
Statement - Parsed SQL statement mapped to a Mnemo operation.
Functions§
- parse_
sql - Parse a SQL string into a
ParsedStatement.