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 show_select_clause : select_clause -> Ppx_deriving_runtime.string
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 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.