Module metadata

Source
Expand description

Function and type level metadata for Rust to SQL translation

Like all of the [sql_entity_graph][crate::pgx_sql_entity_graph] APIs, this is considered internal to the pgx framework and very subject to change between versions. While you may use this, please do it with caution.

Structs§

FunctionMetadataEntity
FunctionMetadataTypeEntity

Enums§

ArgumentError
Returns
Describes the RETURNS of CREATE FUNCTION … RETURNS … See the PostgreSQL documentation for [CREATE FUNCTION] [CREATE FUNCTION]: https://www.postgresql.org/docs/current/sql-createfunction.html
ReturnsError
SqlMapping
Describes ways that Rust types are mapped into SQL

Traits§

FunctionMetadata
Provide SQL generation related information on functions
PhantomDataExt
An extension trait for PhantomData offering SQL generation related info
SqlTranslatable
A value which can be represented in SQL