package sihl-user

  1. Overview
  2. Docs

Parameters

Signature

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 -> (Model.t list * Sihl_type.Database.Meta.t) Lwt.t
val get : id:string -> Model.t option Lwt.t
val get_by_email : email:string -> Model.t option Lwt.t
val insert : user:Model.t -> unit Lwt.t
val update : user:Model.t -> unit Lwt.t
OCaml

Innovation. Community. Security.