package mssql

  1. Overview
  2. Docs

Module Mssql.ParamSource

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

Sourcetype 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
Sourceval compare : t -> t -> int
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0__.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0__.Sexp.t
Sourceval of_data : month_offset:int -> Freetds.Dblib.data -> t option
Sourceval to_string : t option -> string
Sourceval to_string_escaped : t option -> string
Sourceval bignum : ?column:string -> t -> Bignum.t
Sourceval float : ?column:string -> t -> float
Sourceval int : ?column:string -> t -> int
Sourceval int32 : ?column:string -> t -> int32
Sourceval int64 : ?column:string -> t -> int64
Sourceval bool : ?column:string -> t -> bool
Sourceval str : ?column:string -> t -> string
Sourceval date : ?column:string -> t -> Core.Date.t
Sourceval datetime : ?column:string -> t -> Core.Time.t
OCaml

Innovation. Community. Security.