package petrol

  1. Overview
  2. Docs

Defines all supported Sqlite types.

type 'a t = 'a Type.t

Represents a SQL type.

val bool : bool t

bool represents the SQL boolean type (internally the type is INTEGER, as Sqlite does not have a dedicated boolean type).

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.

module Numeric = Type.Numeric
OCaml

Innovation. Community. Security.