pub fn partial_compare_values(a: &Value, b: &Value) -> Option<Ordering>Expand description
Compare two Values with type coercion, for a predicate.
A typed instant compares by epoch microseconds against another instant
or an ISO-8601 string, and against anything else has no order: None,
so WHERE at >= 5 over an instant matches nothing. Otherwise numeric
comparison first (with bool coercion, exact for integers and decimals,
NaN above every number), then string comparison of the display forms.