package sihl-type

  1. Overview
  2. Docs

Module Database.QlSource

Sourcemodule Filter : sig ... end
Sourcemodule Sort : sig ... end
Sourcemodule Page : sig ... end
Sourcetype t = {
  1. filter : Filter.t option;
  2. sort : Sort.t option;
  3. page : Page.t;
}
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval get_page : t -> Page.t
Sourceval get_limit : t -> int option
Sourceval get_offset : t -> int option
Sourcemodule Sql : sig ... end
Sourceval of_string : String.t -> (t, 'a) result
Sourceval to_string : t -> string
Sourceval to_sql : String.t list -> t -> string * string list
Sourceval to_sql_fragments : String.t list -> t -> string * string * string * string list
Sourceval empty : t
Sourceval set_filter : Filter.t -> t -> t
Sourceval set_filter_and : Filter.criterion -> t -> t
Sourceval set_sort : Sort.t -> t -> t
Sourceval set_limit : int -> t -> t
Sourceval set_offset : int -> t -> t
OCaml

Innovation. Community. Security.