package mariadb

  1. Overview
  2. Docs
type t
type value = [
  1. | `Null
  2. | `Int of int
  3. | `Float of float
  4. | `String of string
  5. | `Bytes of bytes
  6. | `Time of Time.t
]
val name : t -> string
val value : t -> value
val null_value : t -> bool
val can_be_null : t -> bool
val int : t -> int
val float : t -> float
val string : t -> string
val bytes : t -> bytes
val time : t -> Time.t
val int_opt : t -> int option
val float_opt : t -> float option
val string_opt : t -> string option
val bytes_opt : t -> bytes option
val time_opt : t -> Time.t option
OCaml

Innovation. Community. Security.