Re-exports§
pub extern crate cdbc_macro;
pub use error::*;
pub use query::*;
pub use query_as::*;
pub use query_scalar::*;
pub use decode::*;
pub use encode::*;
pub use column::*;
pub use row::*;
pub use executor::*;
pub use pool::*;
pub use utils::*;
pub use transaction::*;
Modules§
- acquire
- arguments
- Types and traits for passing arguments to SQL queries.
- column
- connection
- database
- Traits to represent a database driver.
- decode
- Provides
Decode
for decoding values from the database. - describe
- encode
- Provides
Encode
for encoding values for the database. - error
- Types for working with errors produced by SQLx.
- executor
- from_
row - io
- net
- pool
- Provides the connection pool for asynchronous SQLx connections.
- query
- query_
as - query_
scalar - row
- statement
- transaction
- type_
info - types
- Conversions between Rust and SQL types.
- utils
- value
Macros§
- chan_
stream - err_
protocol - impl_
column_ index_ for_ row - impl_
column_ index_ for_ statement - impl_
from_ row_ for_ tuple - impl_
into_ arguments_ for_ arguments - impl_
into_ maybe_ pool - impl_
scan - impl scan for table struct for example:
- impl_
statement_ query - query
- row_
scan - scan CDBC Row to an Table,return cdbc::Result
for example:
- row_
scans - scan CDBC Row to Table,return cdbc::Result<Vec
> for example:
Structs§
- HashMap
- A
HashMap
usingRandomState
to hash the items. (Requires thestd
feature to be enabled.)
Attribute Macros§
Derive Macros§
- Scan
- this Scan will find on Cargo.toml database driver to impl cdbc::impl_scan!(#db_type,#name{#fields});
- Scan
Mssql - Scan
Mysql - ScanPg
- Scan
Sqlite
- row_