Module pgx::datum::sql_entity_graph
source · [−]Modules
Structs
A parsed #[pg_extern]
argument.
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.
This struct is akin to syn::NameValueMeta
, but allows for more than just syn::Lit
as a value.
A parsed #[pg_aggregate]
item.
A parsed #[pg_extern]
item.
The output of a Argument
from quote::ToTokens::to_tokens
.
The output of a Schema
from quote::ToTokens::to_tokens
.
A parsed #[pg_operator]
operator.
The output of a PgOperator
from quote::ToTokens::to_tokens
.
This struct is intented to represent the contents of the #[pgx]
attribute when parsed.
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 source fragment to a SQL type, typically for type aliases.
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
.
Represents configuration options for tuning the SQL generator.
Enums
This is the type of a value that can be used in the value position of a name = value
attribute argument.
This enum is akin to syn::Meta
, but supports a custom NameValue
variant which allows
for bare paths in the value position.
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.
Type Definitions
The signature of a function that can transform a SqlGraphEntity to a SQL string