struct LMDB::Cursor(K, V)
- LMDB::Cursor(K, V)
- LMDB::AbstractCursor
- Struct
- Value
- Object
Overview
Read/write cursor.
Included Modules
- LMDB::CursorGet(K, V)
- LMDB::CursorPut(K, V)
Defined in:
lmdb/cursor.crConstructors
Instance Method Summary
-
#readonly? : Bool
Whether
self
is a readonly cursor.
Instance methods inherited from module LMDB::CursorPut(K, V)
delete
delete,
put(key : Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _), value : Pointer(V) | Slice(V) | Array(V) | StaticArray(V, _), flags : Cursor::PutFlags = Cursor::PutFlags::None)put(key : Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _), val : V, flags : Cursor::PutFlags = Cursor::PutFlags::None) forall K, V
put(key : K, val : Pointer(V) | Slice(V) | Array(V) | StaticArray(V, _), flags : Cursor::PutFlags = Cursor::PutFlags::None) forall K, V
put(key : K, val : V, flags : Cursor::PutFlags = Cursor::PutFlags::None) forall K, V put
Instance methods inherited from module LMDB::CursorGet(K, V)
first : Tuple(K, V)
first,
get : Tuple(K, V)
get,
get? : Tuple(K, V) | Nil
get?,
last : Tuple(K, V)
last,
last? : Tuple(K, V) | Nil
last?,
move_to(key : Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _)) : Vmove_to(key : K) : V move_to, next : Tuple(K, V) next, next? : Tuple(K, V) | Nil next?, prev : Tuple(K, V) prev, prev? : Tuple(K, V) | Nil prev?, set_range(key : Pointer(K) | Slice(K) | Array(K) | StaticArray(K, _)) : V
set_range(key : K) : V set_range
Instance methods inherited from struct LMDB::AbstractCursor
close
close,
readonly? : Bool
readonly?,
to_unsafe : Pointer(Void)
to_unsafe
Constructor methods inherited from struct LMDB::AbstractCursor
new(transaction : AbstractTransaction, database : Database)
new
Constructor Detail
Instance Method Detail
def readonly? : Bool
#
Description copied from struct LMDB::AbstractCursor
Whether self
is a readonly cursor.