PgRest.Catalog.Facts (PgRest v0.2.0)

Copy Markdown View Source

Server-wide facts PgRest.Catalog.facts/1 reads once per repo: the timezone names Prefer: timezone accepts, the server version, whether the login role bypasses RLS, and the ALTER ROLE ... SET settings of the roles it may switch to (%{role => [{name, value}]}).

Summary

Types

t()

@type t() :: %PgRest.Catalog.Facts{
  bypasses_rls?: boolean(),
  role_settings: %{required(String.t()) => [{String.t(), String.t()}]},
  server_version_num: pos_integer(),
  timezones: MapSet.t(String.t())
}