Expand description
PostgreSQL support for drizzle-rs: values, query builders,
PostgreSQL-only operators and the traits the #[PostgresTable] family of
macros implement.
Most code uses this crate through the drizzle crate, which re-exports it
as drizzle::postgres and adds the database drivers. On its own, this
crate builds SQL without running it.
Re-exports§
pub use transaction::AccessMode;pub use transaction::IsolationLevel;pub use transaction::TransactionConfig;
Modules§
- attrs
- Names accepted inside
#[PostgresTable(...)],#[column(...)],#[PostgresView(...)],#[PostgresIndex(...)]and#[PostgresPolicy(...)]. - builder
- Query builders for
PostgreSQLstatements. - common
- Shared
PostgreSQLtypes: schema object kinds, a number helper, the legacy isolation-level enum, and the join types re-exported from core. - expr
PostgreSQL-only operators: arrays, JSON and JSONB,ILIKE, and POSIX regular expressions.- helpers
- SQL fragment builders used by the
PostgreSQLquery builders. - traits
- Traits for
PostgreSQLtables, columns, enums and custom column types, and for decoding values and driver rows. - transaction
- Driver-neutral
PostgreSQLtransaction options (TransactionConfig). - types
- SQL type markers for
PostgreSQL(Int4,Text,Jsonb, …), fromdrizzle_types. - values
- Values bound to and read from
PostgreSQLqueries.
Structs§
- Param
Bind - A value to bind to the placeholder called
name.