package petrol

  1. Overview
  2. Docs

Defines all supported SQL types.

type 'a t

Represents a SQL type.

val bool : bool t

bool represents the SQL boolean type (or INTEGER if BOOL does not exist).

val int : int t

int represents the SQL INTEGER type.

val real : float t

real represents the SQL REAL type.

val text : string t

text represents the SQL TEXT type.

val blob : string t

blob represents the SQL BLOB type.

OCaml

Innovation. Community. Security.