package sqlgg
SQL Guided (code) Generator
Install
Dune Dependency
Authors
Maintainers
Sources
sqlgg-20200521.tar.gz
md5=b9e861726ce73364e303f0cc1d5ec049
sha256=b9bfd29dc5c880c324ed77ec333053317fd0806f5a64b573b5031ee7fc227deb
sha512=5f73a65b5cf5c17788a75f64b3def21a9d8e53b32a876a4fee4570317a20b48ca69879e9dadaa399d7e57f2e9d262850650bcb031fd90f6bf21abdf8d99ce1a6
doc/sqlgg.lib/Sqlgg/Sql/index.html
Module Sqlgg.Sql
Source
Source
val pp_table_name :
Ppx_deriving_runtime.Format.formatter ->
table_name ->
Ppx_deriving_runtime.unit
optional name and start/end position in string
Source
val pp_param_id :
Ppx_deriving_runtime.Format.formatter ->
param_id ->
Ppx_deriving_runtime.unit
Source
val pp_direction :
Ppx_deriving_runtime.Format.formatter ->
direction ->
Ppx_deriving_runtime.unit
Source
and source =
[ `Select of select_full | `Table of table_name | `Nested of nested ]
* table_name option
Source
val pp_col_name :
Ppx_deriving_runtime.Format.formatter ->
col_name ->
Ppx_deriving_runtime.unit
Source
val pp_join_cond :
Ppx_deriving_runtime.Format.formatter ->
join_cond ->
Ppx_deriving_runtime.unit
Source
val pp_select_full :
Ppx_deriving_runtime.Format.formatter ->
select_full ->
Ppx_deriving_runtime.unit
Source
val pp_choices :
'expr. (Ppx_deriving_runtime.Format.formatter ->
'expr ->
Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'expr choices ->
Ppx_deriving_runtime.unit
Source
val show_choices :
'expr. (Ppx_deriving_runtime.Format.formatter ->
'expr ->
Ppx_deriving_runtime.unit) ->
'expr choices ->
Ppx_deriving_runtime.string
Source
val pp_columns :
Ppx_deriving_runtime.Format.formatter ->
columns ->
Ppx_deriving_runtime.unit
Source
type insert_action = {
target : table_name;
action : [ `Set of assignments option | `Values of string list option * [ `Expr of expr | `Default ] list list option | `Select of string list option * select_full ];
on_duplicate : assignments option;
}
Source
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
| 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>