package mariadb

  1. Overview
  2. Docs

A module representing database rows. Rows can be retrieved as different data structures, which as passed to the row retrieval functions from the Res module. There's built-in support for fetching rows as arrays and maps and hash tables of field name to field, but any module conforming to Row.S can be provided to those functions.

module type S = sig ... end
module StringMap : Stdlib.Map.S with type key = string
module Array : S with type t = Field.t array

Rows as field arrays.

module Map : S with type t = Field.t StringMap.t

Rows as field name to Field.t maps.

module Hashtbl : S with type t = (string, Field.t) Stdlib.Hashtbl.t

Rows as field name to Field.t hash tables.

OCaml

Innovation. Community. Security.