From 9f2a57603dbfce428af36e82fb1c7cdc6e1ad0da Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 21 Nov 2026 12:09:42 +0100 Subject: Load works for list and content values --- lib/query/select.mli | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/query/select.mli') diff --git a/lib/query/select.mli b/lib/query/select.mli index 338cef8..f93455a 100644 --- a/lib/query/select.mli +++ b/lib/query/select.mli @@ -28,3 +28,9 @@ val select : The [id] of the row itself is not passed to the callback: it is the [id] argument. In the callback, each [(named, data)] pair can be stored in a value's dictionary to make the field readable as typed data. *) + +val select_list : + Caqti_lwt.connection -> Int64.t -> Model.list -> callback -> unit Lwt.t +(** Same as {!select}, for a row of the dedicated table of a static list. Lists + have no [parent] column; their multivalued reference fields are read from + their dedicated tables ([list.field]), like for contents. *) -- cgit v1.2.3