How to use the rocksdb function in rocksdb

To help you get started, we’ve selected a few rocksdb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LiskArchive / lisk-elements / packages / lisk-db / src / index.ts View on Github external
public constructor(file: string) {
		logger('opening file', { file });
		this._db = levelup(EncodingDown(RocksDB(file), { valueEncoding: 'json' }));
	}

rocksdb

A low-level Node.js RocksDB binding

MIT
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Popular rocksdb functions