package sihl

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

Parameters

Signature

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

Innovation. Community. Security.