Skip to main content

compare

Function compare 

Source
pub fn compare(a: &Value, b: &Value) -> Ordering
Expand description

compare_checked, with a total order for the inputs JS throws on: by type, then by JSON encoding. Pipelines use this so a bad orderBy (on a json column) degrades instead of failing.