Sqlgg.SqlSourceval pp_table_name :
Ppx_deriving_runtime.Format.formatter ->
table_name ->
Ppx_deriving_runtime.unitoptional name and start/end position in string
val pp_param_id :
Ppx_deriving_runtime.Format.formatter ->
param_id ->
Ppx_deriving_runtime.unitval pp_direction :
Ppx_deriving_runtime.Format.formatter ->
direction ->
Ppx_deriving_runtime.unitand source =
[ `Select of select_full | `Table of table_name | `Nested of nested ]
* table_name optionand expr = | Value of Type.tliteral value
*)| Param of param| Inparam of param| Choices of param_id * expr choices| InChoice of param_id * [ `In | `NotIn ] * expr| Fun of Type.func * expr listparameters
*)| SelectExpr of select_full * [ `AsValue | `Exists ]| Column of col_name| Inserted of stringinserted value
*)val pp_col_name :
Ppx_deriving_runtime.Format.formatter ->
col_name ->
Ppx_deriving_runtime.unitval pp_join_cond :
Ppx_deriving_runtime.Format.formatter ->
join_cond ->
Ppx_deriving_runtime.unitval pp_select_full :
Ppx_deriving_runtime.Format.formatter ->
select_full ->
Ppx_deriving_runtime.unitval pp_choices :
'expr. (Ppx_deriving_runtime.Format.formatter ->
'expr ->
Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'expr choices ->
Ppx_deriving_runtime.unitval show_choices :
'expr. (Ppx_deriving_runtime.Format.formatter ->
'expr ->
Ppx_deriving_runtime.unit) ->
'expr choices ->
Ppx_deriving_runtime.stringval pp_columns :
Ppx_deriving_runtime.Format.formatter ->
columns ->
Ppx_deriving_runtime.unittype insert_action = {target : table_name;action : [ `Set of assignments option
| `Values of
string list option * [ `Expr of expr | `Default ] list list option
| `Param of string list option * param_id
| `Select of string list option * select_full ];on_duplicate : assignments option;}type stmt = | Create of table_name * [ `Schema of schema | `Select of select_full ]| Drop of table_name| Alter of table_name * alter_action list| Rename of (table_name * table_name) list| CreateIndex of string * table_name * string list| Insert of insert_action| Delete of table_name * expr option| DeleteMulti of table_name list * nested * expr option| Set of string * expr| Update of table_name * assignments * expr option * order * param list| UpdateMulti of source list * assignments * expr option| Select of select_full| CreateRoutine of string * Type.t option * (string * Type.t * expr option) list