From 81db1bfd580791910646525e30bc45af34533987 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 1 Mar 2025 08:39:02 +0100 Subject: Rewrite the way to handle filters --- lib/analysers/printers.mli | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/analysers/printers.mli (limited to 'lib/analysers/printers.mli') 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 *) -- cgit v1.2.3