[−][src]Module c3p0_sqlx::sqlx
Modules
database | Traits to represent a database driver. |
decode | Provides |
encode | Provides |
error | Types for working with errors produced by SQLx. |
pool | Provides the connection pool for asynchronous SQLx connections. |
prelude | Convenience re-export of common traits. |
query | Types and traits for the |
types | Conversions between Rust and SQL types. |
Structs
Pool | An asynchronous pool of SQLx database connections. |
Transaction | An in-progress database transaction or savepoint. |
Enums
Error | Represents all the ways a method can fail within SQLx. |
Traits
Acquire | |
Arguments | A tuple of arguments to be sent to the database. |
Column | |
ColumnIndex | |
ConnectOptions | |
Connection | Represents a single database connection. |
Database | A database driver. |
Decode | A type that can be decoded from the database. |
Done | |
Encode | Encode a single value to be sent to the database. |
Execute | A type that may be executed against a database connection. |
Executor | A type that contains or can provide a database connection to use for executing queries against the database. |
FromRow | A record that can be built from a row returned by the database. |
IntoArguments | |
Row | Represents a single row from the database. |
Statement | An explicitly prepared statement. |
Type | Indicates that a SQL type is supported for a database. |
TypeInfo | Provides information about a SQL type for the database driver. |
Value | An owned value from the database. |
ValueRef | A reference to a single value from the database. |
Functions
query | Make a SQL query. |
query_as | Make a SQL query that is mapped to a concrete type
using |
query_as_with | Make a SQL query, with the given arguments, that is mapped to a concrete type
using |
query_scalar | Make a SQL query that is mapped to a single concrete type
using |
query_scalar_with | Make a SQL query, with the given arguments, that is mapped to a single concrete type
using |
query_with | Make a SQL query, with the given arguments. |
Type Definitions
Result | A specialized |