class LevelDB::DB

Defined in:

leveldb/db.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String, create_if_missing : Bool = true, compression : Bool = true) #

[View source]

Instance Method Detail

def [](key) #

[View source]
def []=(key, val) #

[View source]
def clear #

[View source]
def close : Void #

[View source]
def closed? : Bool #

[View source]
def create_snapshot : Snapshot #

[View source]
def db_ptr : Pointer(Void) #

[View source]
def delete(key : String) : Void #

[View source]
def destroy : Void #

[View source]
def each(&) : Void #

[View source]
def finalize #

[View source]
def get(key : String) : String | Nil #

[View source]
def open : Void #

[View source]
def opened? : Bool #

[View source]
def put(key : String, value : String) : Void #

[View source]
def roptions_ptr : Pointer(Void) #

[View source]
def set_snapshot(snapshot : Snapshot) : Void #

[View source]
def unset_snapshot : Void #

[View source]
def write(batch : Batch) #

[View source]