pub trait JoinFilter: Send + Sync {
// Required method
fn filter_join(
&self,
table: &str,
join_type: JoinType,
) -> Result<Option<JoinCondition>>;
}Expand description
Scopes a joined table: a condition for the join, placed in its ON or in
the WHERE, or nothing.
PHP: Utopia\Query\Hook\Join\Filter.
Required Methods§
Sourcefn filter_join(
&self,
table: &str,
join_type: JoinType,
) -> Result<Option<JoinCondition>>
fn filter_join( &self, table: &str, join_type: JoinType, ) -> Result<Option<JoinCondition>>
The condition for joining table (its alias when it has one) with join_type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".