3 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("redb", [
])?;
use opendal::Operator;
let op = Operator::via_iter("redb", [
// path to the redb data directory.
// ("datadir".to_string(), "...".to_string()),
// The table name for redb.
// ("table".to_string(), "...".to_string()),
// The root for redb.
// ("root".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
datadir | string | no | path to the redb data directory. |
table | string | no | The table name for redb. |
root | string | no | The root for redb. |