Module prelude

Source
Available on crate feature sqlx only.

Re-exports§

pub use super::connection::*;
pub use super::database::*;
pub use super::entities::*;
pub use super::statement::*;
pub use crate::error::*;
pub use super::types::*;

Modules§

maybe

Structs§

CloseEvent
A future that resolves when the pool is closed.
LogSettings
Pool
An asynchronous pool of SQLx database connections.
PoolConnection
A connection managed by a Pool.
PoolConnectionMetadata
Metadata for the connection being processed by a PoolOptions callback.
PoolOptions
Configuration options for Pool.

Enums§

MaybePoolConnection
SQLXError
Represents all the ways a method can fail within SQLx.

Traits§

ConnectOptions
Connection
Represents a single database connection.
Executor
A type that contains or can provide a database connection to use for executing queries against the database.
FromStr
Parse a value from a string

Functions§

query
Make a SQL query.
query_as
Make a SQL query that is mapped to a concrete type using FromRow.