Crate cdbc

Source

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 using RandomState to hash the items. (Requires the std feature to be enabled.)

Attribute Macros§

crud

Derive Macros§

Scan
this Scan will find on Cargo.toml database driver to impl cdbc::impl_scan!(#db_type,#name{#fields});
ScanMssql
ScanMysql
ScanPg
ScanSqlite