package sihl-user

  1. Overview
  2. Docs
val register_migration : unit -> unit
val register_cleaner : unit -> unit
val lifecycles : Sihl_core.Container.Lifecycle.t list
val get_all : query:Sihl_type.Database.Ql.t -> (Sihl_user.User_repo.Model.t list * int) Lwt.t
val get : id:string -> Sihl_user.User_repo.Model.t option Lwt.t
val get_by_email : email:string -> Sihl_user.User_repo.Model.t option Lwt.t
val insert : user:Sihl_user.User_repo.Model.t -> unit Lwt.t
val update : user:Sihl_user.User_repo.Model.t -> unit Lwt.t
OCaml

Innovation. Community. Security.