package caqti

  1. Overview
  2. Docs

Module CONNECTION.TupleSource

Interface for extracting result tuples.

Sourcetype t

An abstract type for a tuple passed by a backend to callbacks during query execution.

Sourceval length : t -> int
Sourceval is_null : int -> t -> bool
Sourceval option : (int -> t -> 'a) -> int -> t -> 'a option
Sourceval bool : int -> t -> bool
Sourceval int : int -> t -> int
Sourceval int32 : int -> t -> int32
Sourceval int64 : int -> t -> int64
Sourceval float : int -> t -> float
Sourceval string : int -> t -> string
Sourceval bytes : int -> t -> bytes
Sourceval date_string : int -> t -> string
Sourceval date_tuple : int -> t -> int * int * int
Sourceval date_cl : int -> t -> CalendarLib.Date.t
Sourceval utc_float : int -> t -> float
Sourceval utc_string : int -> t -> string
Sourceval utc_cl : int -> t -> CalendarLib.Calendar.t
OCaml

Innovation. Community. Security.