pub trait Filter: Send + Sync {
// Required method
fn filter(&self, table: &str) -> Result<Condition>;
}Expand description
Adds a condition to the WHERE of every query on a table (tenancy,
permissions).
PHP: Utopia\Query\Hook\Filter.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".