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/insert.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/query/insert.ml') diff --git a/lib/query/insert.ml b/lib/query/insert.ml index 98a5c88..c9a7eba 100644 --- a/lib/query/insert.ml +++ b/lib/query/insert.ml @@ -68,7 +68,7 @@ module MultiReferencesInsert = struct match d with | Model.Data.None -> acc | Model.Data.V (field_type', values) -> ( - match Model.Types.eq_ocaml content_type field_type' with + match Model.Types.eq content_type field_type' with | None -> raise Encoder.TypeMismatch | Some Equal -> let q = -- cgit v1.2.3