Trait query_structure::filter::RelationCompare
source · pub trait RelationCompare {
// Required methods
fn every_related<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn at_least_one_related<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn to_one_related<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn no_related<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn one_relation_is_null(&self) -> Filter;
}
Expand description
Comparison methods for relational fields.
Required Methods§
fn one_relation_is_null(&self) -> Filter
Object Safety§
This trait is not object safe.