diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-21 12:09:42 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-21 12:09:42 +0100 |
| commit | 9f2a57603dbfce428af36e82fb1c7cdc6e1ad0da (patch) | |
| tree | 0cc25d9b330d06a260fc3428646b3014a7ab8366 /lib/query/select.mli | |
| parent | ce13c93cf14cb71894481b0303a7058a72a6f4ce (diff) | |
Load works for list and content values
Diffstat (limited to 'lib/query/select.mli')
| -rw-r--r-- | lib/query/select.mli | 6 |
1 files changed, 6 insertions, 0 deletions
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. *) |
