Expand description
Rust to SQL mapping support.
Like all of the
sql_entity_graph
APIs, this is considered internal to thepgrx
framework 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
fromquote::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
fromquote::ToTokens::to_tokens
. - The output of a
PgExtern
fromquote::ToTokens::to_tokens
. - A parsed
#[pg_operator]
operator. - The output of a
PgOperator
fromquote::ToTokens::to_tokens
. - A generator for SQL.
- A parsed
#[derive(PostgresEnum)]
item. - The output of a
PostgresEnum
fromquote::ToTokens::to_tokens
. - A parsed
#[derive(PostgresHash)]
item. - The output of a
PostgresHash
fromquote::ToTokens::to_tokens
. - A parsed
#[derive(PostgresOrd)]
item. - The output of a
PostgresOrd
fromquote::ToTokens::to_tokens
. - A parsed
#[derive(PostgresType)]
item. - The output of a
PostgresType
fromquote::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
fromquote::ToTokens::to_tokens
. - A parsed
sql
option from apgrx
related procedural macro. - Represents configuration options for tuning the SQL generator.
- A type, optionally with an overriding composite type name
Enums§
- A parsed
#[pg_cast]
operator. - The output of a
PgCast
fromquote::ToTokens::to_tokens
. - 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