class

LevelDB::DB

Inherits Reference < Object

Constructors

new(path : String, create_if_missing : Bool = true, compression : Bool = true)
Source

Instance methods

[](key)
Source
[]=(key, val)
Source
clear
Source
close
Source
closed?
Source
create_snapshot
Source
db_ptr
Source
delete(key : String) : Void
Source
destroy
Source
each
Source
finalize
Source
get(key : String) : String | Nil
Source
open
Source
opened?
Source
put(key : String, value : String) : Void
Source
roptions_ptr
Source
set_snapshot(snapshot : Snapshot) : Void
Source
unset_snapshot
Source
write(batch : Batch)
Source