val insert : Caqti_lwt.connection -> Model.content -> ?parent:int64 -> (string -> Model.value) -> int64 Lwt.t (** Insert a new element and return the ID. [insert db content ~parent provider] will create the content in the database. The parent is required if the content is a subcontent. Not providing the parameter will raise the error [TypeMismatch]. For each field in the content, the function [provider] will be called with the name for this property. The value returned shall match the expected type for this property, the exception [TypeMismatch] is raised otherwise. This is a low-level function: there is no representation for the content itself, and no functionnals controls are realized. *) val insert_list : Caqti_lwt.connection -> Model.list -> (string -> Model.value) -> int64 Lwt.t (** Insert a row in the dedicated table of a static list, and return its id. The [provider] is called with the name of each field of the list, like [insert]. This is the function used to populate the lists from their source. *) val create : Caqti_lwt.connection -> Configuration.Ast.setting -> unit Lwt.t val update : Caqti_lwt.connection -> Int64.t -> Model.content -> (string -> Model.value) -> unit Lwt.t