options_compatible

Function options_compatible 

Source
pub fn options_compatible(
    options_lhs: &SortOptions,
    options_rhs: &SortOptions,
    nullable: bool,
) -> bool
Expand description

Returns whether the given two [SortOptions] are compatible. Here, compatibility means that they are either exactly equal, or they differ only in whether NULL values come in first/last, which is immaterial because the column in question is not nullable (specified by the nullable parameter).