Module User_repo.MakePostgreSql

Parameters

Signature

val register_migration : unit -> unit
val register_cleaner : unit -> unit
val lifecycles : Sihl.Container.lifecycle list
val get : ?⁠ctx:(string * string) list -> string -> Model.t option Lwt.t
val get_by_email : ?⁠ctx:(string * string) list -> string -> Model.t option Lwt.t
val insert : ?⁠ctx:(string * string) list -> Model.t -> unit Lwt.t
val update : ?⁠ctx:(string * string) list -> Model.t -> unit Lwt.t