summaryrefslogtreecommitdiff
path: root/lib/query/insert.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/insert.ml
parentbc78bea63b7c75e8a9d222dc86fb75ed293a2242 (diff)
Added an option for loading a value content without the multivaluated fields (allow single query)main
Diffstat (limited to 'lib/query/insert.ml')
-rw-r--r--lib/query/insert.ml2
1 files changed, 1 insertions, 1 deletions
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 =