Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val ignore : _ t -> unit
Ignore this cursor
val next : 'a t -> 'a option
Get next value, or None
if all values have been enumerated
Get the first element (useful when querying a scalar, like "count( * )"). returns Error Rc.NOTFOUND
if it's empty.
val iter : f:('a -> unit) -> 'a t -> unit
Iterate over the values
Map over values of the cursor. Once map ~f c
is built, c
should not be used.
val to_seq : 'a t -> 'a Stdlib.Seq.t
Lazy iterator over the values. Be careful not to let this leak outside the scope of a statement.