# `PgRest.Catalog.Facts`
[🔗](https://github.com/agoodway/pgrest/blob/v0.2.0/lib/pg_rest/catalog.ex#L97)

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}]}`).

# `t`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
