LMDB
Constants
TYPES = [Bool, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Float32, Float64, Char]
Supported types
VERSION = "0.1.0"
Class methods
check(code)
Sourcelibrary_version
Returns a tuple of integers describing the LMBD library version that the
binding is linked against. The version of the binding itself is available
from the VERSION constant.
open(path : String, flags : Environment::Flag = env_flags(NoTls), mode = FileMode.new(420), max_dbs : Int = 0, map_size : Int = 0, &)
Open and yields an LMDB database Environment. The environment is closed
when the block goes out of scope.
Example:
LMDB.open("mydbdir") do |env|
# ...
end
See Environment#new.
Macros
Nested types
- LMDB::AbstractCursor
- LMDB::Any
- LMDB::Cursor(K, V)
- LMDB::Database
- LMDB::Disposable
- LMDB::Environment
- LMDB::Error
- LMDB::FileMode
- LMDB::MapDatabase(K, V)
- LMDB::MultiDatabase
- LMDB::MultiMapDatabase(K, V)
- LMDB::PutFlags
- LMDB::ReadOnlyCursor(K, V)
- LMDB::ReadOnlyTransaction
- LMDB::ReadOnlyValueCursor
- LMDB::Transaction
- LMDB::Value
- LMDB::ValueCursor