Skip to content

Commit

Permalink
Allow access to some details of the DB driver (#31)
Browse files Browse the repository at this point in the history
why:
  Playing with SST direct import
  • Loading branch information
mjfh committed Aug 11, 2022
1 parent fb3f2c3 commit b7f0728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rocksdb.nim
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ else:

type
RocksDBInstance* = object
db: rocksdb_t
db*: rocksdb_t
backupEngine: rocksdb_backup_engine_t
options: rocksdb_options_t
readOptions: rocksdb_readoptions_t
options*: rocksdb_options_t
readOptions*: rocksdb_readoptions_t
writeOptions: rocksdb_writeoptions_t

DataProc* = proc(val: openArray[byte]) {.gcsafe, raises: [Defect].}
Expand Down

0 comments on commit b7f0728

Please sign in to comment.