Expand description
PostgreSQL types.
types: zero-sized SQL type markers used for compile-time checks.PostgreSQLType: column types as written in DDL, with their metadata.TypeCategory: how a Rust field type maps to aPostgreSQLcolumn.PgTypeCategory: categories of SQL type names, used when parsing.ddl: schema objects (tables, columns, indexes, …) for migrations.names: default constraint names.
Modules§
- ddl
PostgreSQLschema objects (schemas, enums, sequences, roles, policies, privileges, tables, columns, indexes, constraints, views) for migrations.- names
- Default names for
PostgreSQLconstraints the schema producers derive. - types
- Zero-sized SQL type markers for the
PostgreSQLdialect.
Enums§
- PgType
Category - The family of a
PostgreSQLtype declaration, such asvarchar(255)ortimestamp with time zone, ignoring arguments. - PostgreSQL
Type - A
PostgreSQLcolumn type as written in DDL. - Type
Category - The kind of a Rust field type, for choosing a default
PostgreSQLcolumn type.