pub fn comparison_rules_over(
left: &BoundExpr,
right: &BoundExpr,
left_affinity: Option<Affinity>,
right_affinity: Option<Affinity>,
) -> (Option<Affinity>, Collation)Expand description
The rules of comparison_rules for operands whose affinities the caller
has already decided.
A column of a derived table whose query gave it no affinity has none. The binder stores that as BLOB, which is also what a declared column with no type has, and the two compare differently: a TEXT column meets the first with TEXT affinity applied to it, and meets the second with nothing converted.
@param left - the comparison’s left operand @param right - the comparison’s right operand @param left_affinity - the left operand’s affinity as the comparison sees it @param right_affinity - the right operand’s affinity as the comparison sees it