[][src]Macro diesel::numeric_expr

macro_rules! numeric_expr {
    ($tpe:ty) => { ... };
}

Indicates that an expression allows all numeric operators. If you create new SQL functions that return a numeric type, you should invoke this macro that type. Unfortunately, Rust disallows us from automatically implementing Add for types which implement Expression, under its orphan rules.