From 960d5b8f2728f71dd9ce038d527844d82ca2f0f2 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 30 Apr 2026 09:16:03 +0200 Subject: Allow updates for existing contents --- lib/query/insert.mli | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/query/insert.mli') diff --git a/lib/query/insert.mli b/lib/query/insert.mli index f19ff11..798c37b 100644 --- a/lib/query/insert.mli +++ b/lib/query/insert.mli @@ -7,3 +7,14 @@ val insert : (string -> Model.Reference.t Model.Typ.value) -> int64 Lwt.t (** See [Query.insert] *) + +val insert_references : + Caqti_lwt.connection -> + Model.Reference.t Model.Content.t -> + Int64.t -> + string -> + Model.Reference.t Model.Typ.value -> + Int64.t Intf.data -> + unit Lwt.t +(** Insert a list of references for a content. This function is used during the + update but is not exposed outside of the module *) -- cgit v1.2.3