Skip to main content

Module sql_parse

Module sql_parse 

Source
Expand description

The sql_parse host function’s answer: PostgreSQL’s parse tree of a statement, and the identity of the parser that made it.

Structs§

Parsed
A statement’s parse tree, as pg_query’s protobuf serialised by serde.

Enums§

ParseError
Why a statement has no tree. No message quotes the statement.
ParseResponse
What the host function answers: {"ok": {…}} or {"error": {…}}.