package sequoia

  1. Overview
  2. Docs
On This Page
  1. Literal creation
Legend:
Library
Module
Module type
Parameter
Class
Class type

Literals for nullable fields.

type t +=
  1. | Bool : bool -> bool option t
  2. | Int : int -> int option t
  3. | Float : float -> float option t
  4. | String : string -> string option t
  5. | Blob : bytes -> bytes option t
    (*

    Basic SQL literals for nullable fields.

    *)

Literal creation

The functions below create literal values of the appropriate types.

val bool : bool -> bool option t
val int : int -> int option t
val float : float -> float option t
val string : string -> string option t
val blob : bytes -> bytes option t
OCaml

Innovation. Community. Security.