summaryrefslogtreecommitdiff
path: root/lib/query/query.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/query/query.ml')
-rw-r--r--lib/query/query.ml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/query/query.ml b/lib/query/query.ml
new file mode 100644
index 0000000..4aaf467
--- /dev/null
+++ b/lib/query/query.ml
@@ -0,0 +1,9 @@
+(** This module provide functions used to generate SQL requests for creating or
+ updating contents.
+
+ The model is not known at the compilation time, but we have all the required
+ informations in the configuration. Here, we create Caqti request template
+ matching the types given in the configuration. *)
+
+let insert = Insert.insert
+let create = Create.create