Function tidb_query_expr::impl_control::if_condition [−][src]
fn if_condition<T: Evaluable + EvaluableRet>(
condition: Option<&Int>,
value_if_true: Option<&T>,
value_if_false: Option<&T>
) -> Result<Option<T>>
fn if_condition<T: Evaluable + EvaluableRet>(
condition: Option<&Int>,
value_if_true: Option<&T>,
value_if_false: Option<&T>
) -> Result<Option<T>>