Function find_columns_by_ids

Source
pub fn find_columns_by_ids(
    table_columns: &[ColumnDesc],
    column_ids: &[ColumnId],
) -> (Vec<ColumnDesc>, Vec<usize>)
Expand description

Find out the [ColumnDesc] selected with a list of [ColumnId].

ยงReturns

A pair of columns and their indexes in input columns