pub fn condition<'a, C, QS, DB>(
column: C,
filter_condition: FilterCondition,
) -> Result<BoxedCondition<'a, QS, DB>, ValueMismatch>where
C: Expression,
C::SqlType: IntoNullable,
<C::SqlType as IntoNullable>::Nullable: NonNull,
NonNullSqlType<C>: Comparison<'a, C, QS, DB>,Expand description
The condition column operator value for a filter condition of the model,
the column being the one the entity stores its domain field in.
§Errors
ValueMismatch if the condition’s value does not fit the column’s SQL
type.