diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-04-30 09:16:03 +0200 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-05-06 16:45:25 +0200 |
| commit | 960d5b8f2728f71dd9ce038d527844d82ca2f0f2 (patch) | |
| tree | 9a15dc43f91a0b58a3aaa10223bba35abf7ef5f2 /lib/query/insert.mli | |
| parent | a5efd7d15b4d049a4ed539ed5d9c2f1037d00973 (diff) | |
Allow updates for existing contents
Diffstat (limited to 'lib/query/insert.mli')
| -rw-r--r-- | lib/query/insert.mli | 11 |
1 files changed, 11 insertions, 0 deletions
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 *) |
