It would be nice to add possibility to open DB in read-only mode, eg. at least for:
This is supported by RocksDB, the only thing needed is to add FFI bindings and open_readonly method to DB structure.
@eupn I've just pushed the beginnings of ReadOnlyDB into #268. Right now all it supports is get_* operations, but it will soon support the other read operations.
@eupn Here is one of the first tests for ReadOnlyDB.
@iSynaptic I can not found ReadOnlyDB in master branch .
Most helpful comment
@eupn I've just pushed the beginnings of
ReadOnlyDBinto #268. Right now all it supports isget_*operations, but it will soon support the other read operations.