summaryrefslogtreecommitdiff
path: root/lib/query/encoder.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-22 13:58:16 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-22 13:58:16 +0100
commit056fcabaeec238a7aa927df39a90acea028b1aa0 (patch)
tree3246359561eb2375e85da4537e05a083a1348467 /lib/query/encoder.ml
parentbc78bea63b7c75e8a9d222dc86fb75ed293a2242 (diff)
Added an option for loading a value content without the multivaluated fields (allow single query)main
Diffstat (limited to 'lib/query/encoder.ml')
-rw-r--r--lib/query/encoder.ml2
1 files changed, 1 insertions, 1 deletions
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