package sqlite3_utils

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Sqlite3_utils.CursorSource

Sourcetype 'a t

A cursor yielding values of type 'a

Sourceval ignore : _ t -> unit

Ignore this cursor

Sourceval next : 'a t -> 'a option

Get next value, or None if all values have been enumerated

Sourceval iter : f:('a -> unit) -> 'a t -> unit

Iterate over the values

Sourceval map : f:('a -> 'b) -> 'a t -> 'b t

Map over values of the cursor. Once map ~f c is built, c should not be used.

Sourceval to_seq : 'a t -> 'a Seq.t

Lazy iterator over the values. Be careful not to let this leak outside the scope of a statement.

Sourceval to_list_rev : 'a t -> 'a list

Get a list of the values in the cursor, in reverse order. Faster than to_list

Sourceval to_list : 'a t -> 'a list

Get a list of the values in the cursor, in normal order. Slower than to_list

OCaml

Innovation. Community. Security.