struct LMDB::ReadOnlyCursor(K, V)

Overview

Readonly cursor.

Included Modules

Defined in:

lmdb/cursor.cr

Constructors

Instance Method Summary

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, _)) : V
move_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

def self.new(transaction : AbstractTransaction, database : Database) #

[View source]

Instance Method Detail

def readonly? : Bool #
Description copied from struct LMDB::AbstractCursor

Whether self is a readonly cursor.


[View source]
def renew(transaction : AbstractTransaction) #

Renews cursor, allowing its re-use


[View source]