Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 312 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 312 Bytes

RoltDB

RoltDB is Rust implementation of Bolt.

let db = DB::new(path);
// begin a writable tx
let tx = db.tx(true);
let b = tx.create_bucket("test");
b.put(b"hello",b"hello world").unwrap();
let value = b.get(b"hello").unwrap();
assert_eq!(value, "hello world");