From 056fcabaeec238a7aa927df39a90acea028b1aa0 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 22 Nov 2026 13:58:16 +0100 Subject: Added an option for loading a value content without the multivaluated fields (allow single query) --- lib/query/encoder.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/query/encoder.ml') diff --git a/lib/query/encoder.ml b/lib/query/encoder.ml index 4c8d528..3c9484a 100644 --- a/lib/query/encoder.ml +++ b/lib/query/encoder.ml @@ -309,7 +309,7 @@ module DataToCaqtiValues = Map (struct (* For the single-column fields handled here, the DB and code representations coincide — match the field type to prove it *) let check (type x) (ct : (x, x, Model.target) Model.Types.t) : x = - match Model.Types.eq_ocaml ct field_type' with + match Model.Types.eq ct field_type' with | Some Equal -> value | None -> raise TypeMismatch in -- cgit v1.2.3