db_cursor_t Derived Type

type, public :: db_cursor_t


Components

Type Visibility Attributes Name Initial
integer, public :: ti = 0

Owning table slot in db%tables (0 = unset)

integer, public :: j = 0

Index slot in the owning table's indices(:)

type(bt_cursor_t), public :: bt

Underlying B+-tree cursor position

logical, public :: bounded = .false.

.true. if hikey caps the range

character(len=:), public, allocatable :: hikey

Inclusive upper-bound key bytes

logical, public :: active = .false.

.true. while more rows may be yielded

integer, public :: gen = -1

db%generation snapshot; mismatch ⇒ invalidated