Skip to main content

build_sql_binary

Function build_sql_binary 

Source
pub fn build_sql_binary<T, AnyType, Cond>(
    lhs: &(impl Expressive<T> + ?Sized),
    rhs: impl Expressive<T>,
    template: &str,
) -> Cond
where T: Into<AnyType> + Send + Clone + 'static, Cond: From<Expression<T>>,
Expand description

Helper for define_sql_operation!: build a binary expression, map to the backend’s condition type. Public so the macro can call it from any module.