Function mz_sql::plan::query::resolve_desc_and_nulls_last

source ยท
pub(crate) fn resolve_desc_and_nulls_last<T: AstInfo>(
    obe: &OrderByExpr<T>,
    column: usize,
) -> ColumnOrder
Expand description

Creates a ColumnOrder from an OrderByExpr and column index. Column index is specified by the caller, but desc and nulls_last is figured out here.