package ocamldbi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type date = {
  1. year : int;
  2. month : int;
  3. day : int;
}
type time = {
  1. hour : int;
  2. min : int;
  3. sec : int;
  4. microsec : int;
  5. timezone : int option;
}
type datetime = date * time
module Decimal : sig ... end
type sql_t = [
  1. | `Bigint of Big_int.big_int
  2. | `Binary of string
  3. | `Bool of bool
  4. | `Date of date
  5. | `Decimal of Decimal.t
  6. | `Float of float
  7. | `Int of int
  8. | `Interval of datetime
  9. | `Null
  10. | `String of string
  11. | `Time of time
  12. | `Timestamp of datetime
  13. | `Unknown of string
]
val sql_t_to_string : sql_t -> string
val sdebug : sql_t list -> string
val intoption : int option -> sql_t
val stringoption : string option -> sql_t
type precommit_handle
type postrollback_handle
val string_escaped : string -> string
val placeholders : int -> string
exception SQL_error of string
class virtual statement : connection -> object ... end
class virtual connection : ?host:string -> ?port:string -> ?user:string -> ?password:string -> string -> object ... end
val split_query : string -> string list
val make_query : string -> (sql_t -> string) -> string list -> sql_t list -> string