package mssql

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A wrapper for Mssql data types. Use this instead of format strings to protect yourself from SQL injection

type t =
  1. | Bignum of Bignum.t
  2. | Bool of bool
  3. | Float of float
  4. | Int of int
  5. | Int32 of int32
  6. | Int64 of int64
  7. | String of string
  8. | Date of Core.Time.t
  9. | Array of t list
val compare : t -> t -> int
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val of_data : month_offset:int -> Freetds.Dblib.data -> t option
val to_string : t option -> string
val to_string_escaped : t option -> string
val bignum : ?column:string -> t -> Bignum.t
val float : ?column:string -> t -> float
val int : ?column:string -> t -> int
val int32 : ?column:string -> t -> int32
val int64 : ?column:string -> t -> int64
val bool : ?column:string -> t -> bool
val str : ?column:string -> t -> string
val date : ?column:string -> t -> Core.Date.t
val datetime : ?column:string -> t -> Core.Time.t
OCaml

Innovation. Community. Security.