Trait query_structure::filter::CompositeCompare
source · pub trait CompositeCompare {
// Required methods
fn every<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn some<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn none<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn is<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn is_not<T>(&self, filter: T) -> Filter
where T: Into<Filter>;
fn is_empty(&self, b: bool) -> Filter;
fn is_set(&self, b: bool) -> Filter;
fn equals(&self, val: PrismaValue) -> Filter;
}
Expand description
Comparison methods for composite fields.
Required Methods§
fn every<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,
fn some<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,
fn none<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,
fn is<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,
fn is_not<T>(&self, filter: T) -> Filterwhere T: Into<Filter>,
fn is_empty(&self, b: bool) -> Filter
fn is_set(&self, b: bool) -> Filter
fn equals(&self, val: PrismaValue) -> Filter
Object Safety§
This trait is not object safe.