package petrol

  1. Overview
  2. Docs

Module Petrol.TypeSource

Defines all supported SQL types.

Sourcetype 'a t

Represents a SQL type.

Sourceval bool : bool t

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

Sourceval int : int t

int represents the SQL INTEGER type.

Sourceval real : float t

real represents the SQL REAL type.

Sourceval text : string t

text represents the SQL TEXT type.

Sourceval blob : string t

blob represents the SQL BLOB type.

OCaml

Innovation. Community. Security.