pub fn compare(
op: ComparisonOperator,
left: impl Into<Expression>,
right: impl Into<Expression>,
) -> Result<ComparisonExpr>Expand description
Constructs a comparison expression between left and right.
This will wrap left/right in casts if necessary, e.g. for implicitly casting one argument type to another, or for rescaling decimal arguments.