LMDB::Value
Inherits Struct / Value / Object
Constructors
Initialize self from a given size and a bytes pointer.
Initialize a LMDB::Value from a given pointer. No extra memory
allocated.
Initialize a LMDB::Value from a given slice or array. No extra memory
allocated.
Initialize a LMDB::Value from a given value. Copies value contents to
a new allocated pointer.
Instance methods
Compare two Values according to a particular transaction and database.
Assume both items are data items in the database. The given database db
must be configured with the sorted duplicates option.
Returns 0 if the two objects are equal, a negative number if this object
is considered less than other, or a positive number otherwise.
Compare two Values according to a particular transaction and database.
Assume both items are keys in the database.
Returns 0 if the two objects are equal, a negative number if this object
is considered less than other, or a positive number otherwise.