4.2.3 • Published 3 years ago
@accumulators/rocksdb v4.2.3
rocksdb
Implementation of Store interface that uses a rocksdb database to store data.
After creating an instance of RocksDBStore remember to call init method to initialize the store.
Example
import RocksDBStore from "@accumulators/rocksdb";
const store = new RocksDBStore();
await store.init(); // remember to initialize the store
const valuesToSet = new Map<string, string>();
valuesToSet.set("key1", "value1");
valuesToSet.set("key2", "value2");
await store.setMany(valuesToSet);
await store.set("key3", "value3");
const values = await store.getMany(["key2", "key3"]);
console.log(values.get("key2")); // "value2"4.2.0-alpha.0
3 years ago
3.0.3
3 years ago
3.1.1
3 years ago
3.0.10
3 years ago
3.0.2
3 years ago
4.2.0-alpha.1
3 years ago
3.0.1
3 years ago
3.0.8
3 years ago
3.0.7
3 years ago
4.2.3
3 years ago
2.0.3
3 years ago
4.2.2
3 years ago
2.0.2
3 years ago
2.0.4
3 years ago
4.0.1
3 years ago
4.2.1
3 years ago
4.0.2
3 years ago
3.0.9
3 years ago
4.1.0-alpha.0
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.2.1
3 years ago