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§
- Bind
Param - A single parameter to bind.
- Row
- A single row of data from a query result.
- SetIsolation
Message - SET_ISOLATION message (type 52) to change transaction isolation level.
Enums§
- Isolation
Level - Transaction isolation levels supported by DM.
- Parameter
Direction - Parameter direction for binding.
Traits§
- ToDm
Value - Trait for dynamic parameter binding — SQLx-style
&[&dyn ToDmValue]support.