Crate sqlx_models_orm
source · [−]Re-exports
pub use sqlx;
Modules
Conversions between Rust and Postgres types.
Macros
Structs
SQL query that will map its results to owned Rust types.
A mutex-like type utilizing Postgres advisory locks.
A wrapper for PgConnection
(or a similar type) that represents a held Postgres advisory lock.
Implementation of [Arguments
] for PostgreSQL.
Options and flags which can be used to configure a PostgreSQL connection.
A connection to a PostgreSQL database.
A connection in streaming COPY FROM STDIN
mode.
An error returned from the PostgreSQL database.
A stream of asynchronous notifications from Postgres.
An asynchronous notification from Postgres.
Implementation of [Row
] for PostgreSQL.
Implementation of [TransactionManager
] for PostgreSQL.
Type information for a PostgreSQL type.
Implementation of [Value
] for PostgreSQL.
Implementation of [ValueRef
] for PostgreSQL.
PostgreSQL database driver.
Raw SQL query with bind parameters. Returned by [query
][crate::query::query].
Raw SQL query with bind parameters, mapped to a concrete type using [FromRow
].
Returned from [query_as
][crate::query_as::query_as].
Raw SQL query with bind parameters, mapped to a concrete type using [FromRow
] on (O,)
.
Returned from [query_scalar
].
An in-progress database transaction or savepoint.
Enums
Represents all the ways a method can fail within SQLx.
A key type natively used by Postgres advisory locks.
Options for controlling the level of protection provided for PostgreSQL SSL connections.
Traits
An alias for [Executor<'_, Database = Postgres>
][Executor].
Type Definitions
An alias for [Pool
][crate::pool::Pool], specialized for Postgres.
An alias for [PoolOptions
][crate::pool::PoolOptions], specialized for Postgres.