class LMDB::MultiDatabase

Defined in:

lmdb/database.cr

Instance Method Summary

Instance methods inherited from class LMDB::Database

==(other : self) ==, [](key) [], []=(key, value) []=, []?(key) []?, clear clear, cursor(&)
cursor
cursor
, delete(key : String | Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _)) forall K
delete(key : K) forall K
delete
, do_close do_close, each(&)
each
each
, each_key(&) each_key, environment : Environment environment, flags : Flag flags, get(key : String | Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _)) : Value forall K
get(key : K) : Value forall K
get
, get?(key : String | Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _)) : Value | Nil forall K
get?(key : K) : Value | Nil forall K
get?
, put(key : String | Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _), value : String | Pointer(V) | Slice(V) | Array(V) | StaticArray(V, _), flags : PutFlags = PutFlags::None) forall K, V
put(key : String | Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _), val : V, flags : PutFlags = PutFlags::None) forall K, V
put(key : K, val : String | Pointer(V) | Slice(V) | Array(V) | StaticArray(V, _), flags : PutFlags = PutFlags::None) forall K, V
put(key : K, val : V, flags : PutFlags = PutFlags::None) forall K, V
put
, size size, stat stat, to_unsafe : UInt32 to_unsafe

Constructor methods inherited from class LMDB::Database

new(environment : Environment, transaction : AbstractTransaction, flags : Flag = Flag::None)
new(environment : Environment, name : String, transaction : AbstractTransaction, flags : Flag = Flag::None)
new

Instance methods inherited from module LMDB::Disposable

close close, closed? closed?

Instance Method Detail

def delete(key : String | Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _), value : String | Pointer(V) | Slice(V) | Array(V) | StaticArray(V, _)) forall K, V #

Deletes all data matching the given value associated with key from self.

If self does not support sorted duplicates (DUPSORT), value is ignored.


[View source]
def delete(key : String | Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _), val : V) forall K, V #

ditto


[View source]
def delete(key : K, val : String | Pointer(V) | Slice(V) | Array(V) | StaticArray(V, _)) forall K, V #

ditto


[View source]
def delete(key : K, val : V) forall K, V #

ditto


[View source]
def ensure_flags(flags) #

[View source]