Lmdb::Database
Inherits Lmdb::Base / Reference / Object
Constructors
new(env : Lmdb::Environment, name : String | Nil = nil, flags : Lmdb::Flags::Database = Lmdb::Flags::Database::None)
##/**@brief Open a database in the environment. *
- A database handle denotes the name and parameters of a database,
- independently of whether such a database exists. NOTE: There are numerous warnings in the h file against closing database handles Therefore I have not implented that call. def initialize(@handle : LibLmdb::MDB_dbi, @name : String, @env : Lmdb::Environment) @flags = nil end
Instance methods
[](key)
Source[]=(key, data)
Sourcedel(key)
Sourcedrop(delete_mode = 1)
Sourcedupes_allowed?
Sourceflags
Sourcehandle
Source