Skip to main content

condition

Function condition 

Source
pub fn condition<'a, C, QS, DB>(
    column: C,
    filter_condition: FilterCondition,
) -> Result<BoxedCondition<'a, QS, DB>, ValueMismatch>
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.