aboutsummaryrefslogtreecommitdiff
path: root/lib/analysers/printers.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/analysers/printers.mli')
-rw-r--r--lib/analysers/printers.mli14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/analysers/printers.mli b/lib/analysers/printers.mli
new file mode 100644
index 0000000..102bb91
--- /dev/null
+++ b/lib/analysers/printers.mli
@@ -0,0 +1,14 @@
+val path :
+ conf:ImportConf.Syntax.t -> Format.formatter -> ImportDataTypes.Path.t -> unit
+(** Represent a path in a SQL query.
+
+ This function is given in the Expression.Query module. *)
+
+val prepare_key : f:(Format.formatter -> unit) -> Format.formatter -> unit
+(** Wrap an expression for beiing used as a key. What’s given to the formater
+ will be pre-processed with sql function to trim and uppercase the value.
+
+ This function is used at two location in the code :
+
+ - during the index creation
+ - when matching a value against this index *)