From 830e7c5d27d161b91402414e6ecd49f1ed818bfb Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Fri, 27 Mar 2026 08:48:05 +0100 Subject: Initial commit --- lib/query/insert.mli | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/query/insert.mli (limited to 'lib/query/insert.mli') diff --git a/lib/query/insert.mli b/lib/query/insert.mli new file mode 100644 index 0000000..63e16a6 --- /dev/null +++ b/lib/query/insert.mli @@ -0,0 +1,12 @@ +(** Low level insertion in the database *) + +exception TypeMismatch +(** Exception raised when the given type does not match the value *) + +val insert : + Caqti_lwt.connection -> + Model.Reference.t Model.Content.t -> + ?parent:int64 -> + (string -> Model.Reference.t Model.Typ.value) -> + int64 Lwt.t +(** See [Query.insert] *) -- cgit v1.2.3