This is a Rust implementation of the Java DataBase Connectivity (JDBC) API, a continuation and reimplementation of the rdbc project.
Add the following to your Cargo.toml
:
toml
[dependencies]
rdbc2 = "0.1"
``` use rdbc2;
let mut database = rdbc2::dbc::Database::new(
let result = database.executequery(
// Or with parameters
let result = database.executequerywithparams( < querystring>, < params>)?;
let serializedresult = database.executequeryandserializewithparams(