Skip to main content

Crate dameng

Crate dameng 

Source
Expand description

Dameng database sync driver.

Provides synchronous connection and query execution against Dameng database servers.

Re-exports§

pub use client::Client;
pub use config::ConnectOptions;
pub use error::Error;
pub use error::Result;
pub use row::DmDecode;
pub use row::QueryRow;
pub use row::QueryRowRef;
pub use row::ResultSet;
pub use row::ResultSetIter;
pub use transaction::Transaction;

Modules§

client
Sync client for connecting to Dameng database.
config
Connection configuration options.
error
Error types for the Dameng driver.
row
Row representation for query results.
transaction
Transaction support — follows rust-postgres / sqlx patterns.

Structs§

BindParam
A single parameter to bind.
Row
A single row of data from a query result.
SetIsolationMessage
SET_ISOLATION message (type 52) to change transaction isolation level.

Enums§

IsolationLevel
Transaction isolation levels supported by DM.
ParameterDirection
Parameter direction for binding.

Traits§

ToDmValue
Trait for dynamic parameter binding — SQLx-style &[&dyn ToDmValue] support.