package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

include Sihl_repository.Sig.REPO
val register_migration : unit -> unit
val register_cleaner : unit -> unit
val lifecycles : Sihl_core.Container.Lifecycle.t list
val get_all : Sihl_core.Ctx.t -> query:Sihl_database.Ql.t -> (Sihl_user__.Model.t list * Sihl_repository.Meta.t) Lwt.t
val get : Sihl_core.Ctx.t -> id:string -> Sihl_user__.Model.t option Lwt.t
val get_by_email : Sihl_core.Ctx.t -> email:string -> Sihl_user__.Model.t option Lwt.t
val insert : Sihl_core.Ctx.t -> user:Sihl_user__.Model.t -> unit Lwt.t
val update : Sihl_core.Ctx.t -> user:Sihl_user__.Model.t -> unit Lwt.t
OCaml

Innovation. Community. Security.