mirror of
https://github.com/status-im/nim-rocksdb.git
synced 2025-02-21 03:18:24 +00:00
Allow access to some details of the DB driver (#31)
why: Playing with SST direct import
This commit is contained in:
parent
fb3f2c30b0
commit
b7f0728225
@ -32,10 +32,10 @@ else:
|
|||||||
|
|
||||||
type
|
type
|
||||||
RocksDBInstance* = object
|
RocksDBInstance* = object
|
||||||
db: rocksdb_t
|
db*: rocksdb_t
|
||||||
backupEngine: rocksdb_backup_engine_t
|
backupEngine: rocksdb_backup_engine_t
|
||||||
options: rocksdb_options_t
|
options*: rocksdb_options_t
|
||||||
readOptions: rocksdb_readoptions_t
|
readOptions*: rocksdb_readoptions_t
|
||||||
writeOptions: rocksdb_writeoptions_t
|
writeOptions: rocksdb_writeoptions_t
|
||||||
|
|
||||||
DataProc* = proc(val: openArray[byte]) {.gcsafe, raises: [Defect].}
|
DataProc* = proc(val: openArray[byte]) {.gcsafe, raises: [Defect].}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user