summaryrefslogtreecommitdiff
path: root/lib/query/insert.mli
blob: 63e16a6e259c19e3b00efb889703183f90c33bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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] *)