summaryrefslogtreecommitdiff
path: root/test/select.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 /test/select.ml
parentbc78bea63b7c75e8a9d222dc86fb75ed293a2242 (diff)
Added an option for loading a value content without the multivaluated fields (allow single query)main
Diffstat (limited to 'test/select.ml')
-rw-r--r--test/select.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/select.ml b/test/select.ml
index d185772..1ee6dc2 100644
--- a/test/select.ml
+++ b/test/select.ml
@@ -32,8 +32,8 @@ let exec : string list -> t = function
Query.select db id content
{
f =
- (fun (named, data) ->
- acc := Common.show_field named data :: !acc);
+ (fun ((name, typ), data) ->
+ acc := Common.show_field name typ data :: !acc);
}
in
Lwt.return (List.rev !acc)