package guardian

  1. Overview
  2. Docs

Module Make.BackendSource

Sourcetype 'a authorizable = 'a Guardian.Authorizable.t
Sourcetype 'b authorizable_target = 'b Guardian.AuthorizableTarget.t
Sourcetype role = A.t
Sourcetype actor_role_set = Guardian.ActorRoleSet.t
Sourcetype target_role_set = Guardian.TargetRoleSet.t
Sourcetype ('rv, 'err) monad = ('rv, 'err) Lwt_result.t
Sourceval lwt_return_rc : Sqlite3.Rc.t -> (unit, string) result Lwt.t
Sourcemodule Actor : sig ... end
Sourcemodule Target : sig ... end
Sourceval find_migrations : unit -> (string * string * string) list

find_migrations () returns a list of all migrations as a tuple with key, datetime and sql query *

Sourceval find_clean : unit -> (string * string) list

find_clean () returns a list of all migrations as a tuple with key and sql query *

Sourceval migrate : ?ctx:(string * string) list -> unit -> unit Lwt.t

migrate () runs all migration on a specified context ?ctx *

Sourceval clean : ?ctx:(string * string) list -> unit -> unit Lwt.t

clean () runs clean on a specified context ?ctx *

OCaml

Innovation. Community. Security.