Available on crate features
model-mysql or model-postgres or model-sqlite only.Expand description
SqlStore: relationship tuples in a database (SQLite, Postgres or
MySQL through the model layer), with a short read cache.
Structs§
- SqlStore
- Tuples in the
rws_authz_tuplestable (created if missing): one row per tuple, keyed by the SHA-256 of its text so the key fits every database’s index limit, indexed by object and relation for checks.
Constants§
- READ_
CACHE - How long a read is reused (this process’s own writes clear it at once).