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

Types and traits for passing arguments to SQL queries.

Traits to represent a database driver.

Provides Decode for decoding values from the database.

Provides Encode for encoding values for the database.

Types for working with errors produced by SQLx.

Provides the connection pool for asynchronous SQLx connections.

Conversions between Rust and SQL types.

Macros

impl scan for table struct for example:

scan CDBC Row to an Table,return cdbc::Result

for example:

scan CDBC Row to Table,return cdbc::Result<Vec

> for example:

Structs

A HashMap using RandomState to hash the items. (Requires the std feature to be enabled.)

Attribute Macros

Derive Macros

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