Module ast

Source
Expand description

Wrapper around pg_query protobuf-generated statement.

This is passed through FFI safely by ensuring two conditions:

  1. The version of the Rust compiler used to build the plugin is the same used to build PgDog
  2. The version of the pg_query library used by the plugin is the same used by PgDog

Structsยง

PdParseResult
Wrapper around pg_query::protobuf::ParseResult, which allows the caller to use pg_query types and methods to inspect the statement.