Lmdb::Cursor
Inherits Lmdb::Base / Reference / Object
Constants
DUPE_OPS = [LibLmdb::CursorOp::MDB_FIRST_DUP, LibLmdb::CursorOp::MDB_LAST_DUP, LibLmdb::CursorOp::MDB_NEXT_DUP, LibLmdb::CursorOp::MDB_PREV_DUP, LibLmdb::CursorOp::MDB_GET_BOTH, LibLmdb::CursorOp::MDB_GET_BOTH_RANGE]
Constructors
Instance methods
close
##/**@brief Close a cursor handle. *
- The cursor handle will be freed and must not be used again after this call.
- Its transaction must still be live if it is a write-transaction.
count
Sourcecurrent
Sourcedatabase
Sourcedel
Delete current key/data pair *
- This function deletes the key/data pair to which the cursor refers.
del_all
- delete all of the data items for the current key.
-
This flag may only be specified if the database was opened with #MDB_DUPSORT.
find(key : Lmdb::KeyTypes)
SourceThis version of the call seeks the value that's greater or equal to the one given FOR THE EXACT KEY. It only looks for the records with the key specified. Only for #MDB_DUPSORT */
first_dup
Sourcelast
Move to the last key in the database, returning True on success or False if the database is empty.
last_dup
Sourcenext
Sourcenext_dup
Sourceprev
Sourceprev_dup
Sourceprev_no_dup
Sourcerenew(txn : Lmdb::Transaction)
Sourcetransaction
Source