Skip to main content

compare_rows

Function compare_rows 

Source
pub fn compare_rows(
    o: Option<&QueryOrder>,
    a: (&str, &JsonMap),
    b: (&str, &JsonMap),
) -> Ordering
Expand description

Orders two rows by o (nulls after every value), then by ID, both in o’s direction.