Expand description
SQLx lowering for gatekeep residual policies.
This crate lowers a gatekeep::ResidualPolicy into trusted Postgres SQL
fragments that can be appended to a sqlx::QueryBuilder.
Structs§
- NoGrade
Projection - Projection that rejects grade lowering.
- Ordinal
Projection - Outcome projection backed by
SqlOutcome. - PgFragment
- Trusted Postgres SQL plus ordered bind values.
- PgLowerer
- Postgres lowerer for gatekeep residual policies.
Enums§
- PgValue
- Postgres scalar value carried by a lowered SQL fragment.
Traits§
- Outcome
Projection - Projection strategy for turning outcomes into SQL fragments.
- PgFact
Predicates - Maps a residual fact to a trusted Postgres predicate over the candidate row.
- SqlOutcome
- Maps a policy outcome to a total-order SQL ordinal.