/// Returns the field indexes for a given selection
///
/// Returns an error if a corresponding column isn't found
Returns the field indexes for a given selection
Returns an error if a corresponding column isn't found
Returns the field indexes for a given selection Returns an error if a corresponding column isn ' t found
pub fn compute_select_indicies(&self, columns: &[&str]) -> Result<Vec<usize>> {
        columns
            .iter()
            .map(|&column_name| {
                self.find_index_of(column_name)
                    .context(ColumnNotFoundSnafu { column_name })
            })
            .collect()
    }
pub fn compute_select_indicies ( & self , columns : & [ & str ] ) -> Result < Vec < usize > > { columns . iter ( ) . map ( | & column_name | { self . find_index_of ( column_name ) . context ( ColumnNotFoundSnafu { column_name } ) } ) . collect ( ) }
Returns the field indexes for a given selection
Returns an error if a corresponding column isn't found
Returns the field indexes for a given selection Returns an error if a corresponding column isn ' t found
&self
columns
&[&str]