/// Return Schema for the specified table / columns
Return Schema for the specified table / columns
Return Schema for the specified table / columns
pub fn table_schema(&self, selection: Selection<'_>) -> Result<Schema> {
        Ok(match selection {
            Selection::All => self.schema.as_ref().clone(),
            Selection::Some(columns) => {
                let columns = self.schema.select(columns).context(SelectColumns)?;
                self.schema.project(&columns)
            }
        })
    }
pub fn table_schema ( & self , selection : Selection < ' _ > ) -> Result < Schema > { Ok ( match selection { Selection :: All => self . schema . as_ref ( ) . clone ( ) , Selection :: Some ( columns ) => { let columns = self . schema . select ( columns ) . context ( SelectColumns ) ? ; self . schema . project ( & columns ) } } ) }
Return Schema for the specified table / columns
Return Schema for the specified table / columns
&self
selection
Selection<'_>