rbdc-oracle 0.10.0

Oracle driver for rbdc
Documentation

RBDC-Oracle

  • Oracle driver for rbatis

Requirements

  • C linker. For example:
sudo apt install build-essential

OracleConnectOptions

When using rbdc-oracle, construct OracleConnectOptions with new() / default() plus builder methods, or with_credentials(...).

Do not use a struct literal in downstream crates. The type is non-exhaustive so new fields can be added without breaking every caller.

use rbdc_oracle::OracleConnectOptions;

let options = OracleConnectOptions::with_credentials(
    "user",
    "password",
    "//localhost:1521/XE",
);

let tuned = OracleConnectOptions::new()
    .username("user")
    .password("password")
    .connect_string("//localhost:1521/XE")
    .statement_cache_capacity(100)
    .row_channel_size(50)
    .command_channel_size(50);