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§

source

fn one_relation_is_null(&self) -> Filter

Object Safety§

This trait is not object safe.

Implementors§