package links

  1. Overview
  2. Docs
type index = (Var.var * string) list
type query =
  1. | UnionAll of query list * int
  2. | Select of select_clause
  3. | With of Var.var * query * Var.var * query
and select_clause = (base * string) list * (string * Var.var) list * base * base list
and base =
  1. | Case of base * base * base
  2. | Constant of CommonTypes.Constant.t
  3. | Project of Var.var * string
  4. | Apply of string * base list
  5. | Empty of query
  6. | Length of query
  7. | RowNumber of (Var.var * string) list
val pp_query : Ppx_deriving_runtime.Format.formatter -> query -> Ppx_deriving_runtime.unit
val pp_select_clause : Ppx_deriving_runtime.Format.formatter -> select_clause -> Ppx_deriving_runtime.unit
val show_select_clause : select_clause -> Ppx_deriving_runtime.string
val pp_base : Ppx_deriving_runtime.Format.formatter -> base -> Ppx_deriving_runtime.unit
val smart_and : base -> base -> base
val fresh_table_var : unit -> Var.var
val string_of_table_var : int -> string
val string_of_subquery_var : int -> string
val dummy_counter : int Stdlib.ref
val reset_dummy_counter : unit -> unit
val fresh_dummy_var : unit -> string
val string_of_label : string -> string
module Arithmetic : sig ... end
module SqlFuns : sig ... end
val order_by_clause : int -> string
val string_of_base : < quote_field : string -> string.. > -> bool -> base -> string
val string_of_projection : < quote_field : string -> string.. > -> bool -> (Var.var * string) -> string
val string_of_query : < quote_field : string -> string.. > -> (int * int) option -> query -> string
OCaml

Innovation. Community. Security.