Skip to main content

redb

3 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("redb", [
])?;
All configuration options (copy & trim)
Full reference
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.

Configuration reference

General3
KeyTypeRequiredDescription
datadirstringnopath to the redb data directory.
tablestringnoThe table name for redb.
rootstringnoThe root for redb.