Crate pgrx_sql_entity_graph
source ·Expand description
Rust to SQL mapping support.
Like all of the [
sql_entity_graph][crate::pgrx_sql_entity_graph] APIs, this is considered internal to thepgrxframework and very subject to change between versions. While you may use this, please do it with caution.
Re-exports
pub use positioning_ref::PositioningRef;
Modules
- Function and type level metadata for Rust to SQL translation
- Positioning references for Rust to SQL mapping support.
Structs
- The parsed contents of a
.controlfile. - A parsed
extension_sql!()item. - The output of a
ExtensionSqlfromquote::ToTokens::to_tokens. - A parsed
extension_sql_file!()item. - A parsed
#[pg_aggregate]item. - A parsed
#[pg_extern]item. - A parsed
#[pg_extern]argument. - The output of a
PgExternArgumentfromquote::ToTokens::to_tokens. - The output of a
PgExternfromquote::ToTokens::to_tokens. - A parsed
#[pg_operator]operator. - The output of a
PgOperatorfromquote::ToTokens::to_tokens. - A generator for SQL.
- A parsed
#[derive(PostgresEnum)]item. - The output of a
PostgresEnumfromquote::ToTokens::to_tokens. - A parsed
#[derive(PostgresHash)]item. - The output of a
PostgresHashfromquote::ToTokens::to_tokens. - A parsed
#[derive(PostgresOrd)]item. - The output of a
PostgresOrdfromquote::ToTokens::to_tokens. - A parsed
#[derive(PostgresType)]item. - The output of a
PostgresTypefromquote::ToTokens::to_tokens. - A mapping from a Rust type to a SQL type, with a
TypeId. - A parsed
#[pg_schema] mod example {}item. - The output of a
Schemafromquote::ToTokens::to_tokens. - A parsed
sqloption from apgrxrelated procedural macro. - Represents configuration options for tuning the SQL generator.
- A type, optionally with an overriding composite type name
Enums
- An entity corresponding to some SQL required by the extension.
Traits
- Able to produce a GraphViz DOT format identifier.
- Able to be transformed into to SQL.
Functions
- Validate that a given ident is acceptable to PostgreSQL