How to use the rocksdb.destroy 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 byteball / ocore / test / _init_datafeeds.js View on Github external
kvstore.close(() => {
		rocksdb.destroy(path, function(err){
			console.log('db destroy result: '+(err || 'ok'));
			db.close(() => {
				shell('rm -r ' + app_data_dir);
				t.end();
			});
		});
	});
});

rocksdb

A low-level Node.js RocksDB binding

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis

Popular rocksdb functions