Crate pgx_sql_entity_graph
source ·Expand description
Rust to SQL mapping support.
Like all of the [
sql_entity_graph][crate::pgx_sql_entity_graph] APIs, this is considered internal to thepgxframework 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
.control file.A parsed
extension_sql!() item.The output of a
ExtensionSql from quote::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
PgExternArgument from quote::ToTokens::to_tokens.The output of a
PgExtern from quote::ToTokens::to_tokens.A parsed
#[pg_operator] operator.The output of a
PgOperator from quote::ToTokens::to_tokens.A generator for SQL.
A parsed
#[derive(PostgresEnum)] item.The output of a
PostgresEnum from quote::ToTokens::to_tokens.A parsed
#[derive(PostgresHash)] item.The output of a
PostgresHash from quote::ToTokens::to_tokens.A parsed
#[derive(PostgresOrd)] item.The output of a
PostgresOrd from quote::ToTokens::to_tokens.A parsed
#[derive(PostgresType)] item.The output of a
PostgresType from quote::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
Schema from quote::ToTokens::to_tokens.A parsed
sql option from a pgx related 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