diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-03-27 08:48:05 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-03-27 08:48:05 +0100 |
| commit | 830e7c5d27d161b91402414e6ecd49f1ed818bfb (patch) | |
| tree | 448864635d29b1ea66424cbb9e0816fbcf1e1907 /lib/query/insert.mli | |
Initial commit
Diffstat (limited to 'lib/query/insert.mli')
| -rw-r--r-- | lib/query/insert.mli | 12 |
1 files changed, 12 insertions, 0 deletions
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] *) |
