[−][src]Macro diesel::operator_allowed
Implements the Rust operator for a given type. If you create a new SQL
function, which returns a type that you'd like to use an operator on, you
should invoke this macro. Unfortunately, Rust disallows us from
automatically implementing Add
and other traits from std::ops
, under its
orphan rules.