Set the column projection for the scan. The projection is a list of column indices from [`TableProvider::schema`] that should be included in the scan results. If `None`, all columns are included. # Arguments `projection` - Optional slice of column indices to project
(mut self, projection: Option<&'a [usize]>)
| 417 | /// # Arguments |
| 418 | /// * `projection` - Optional slice of column indices to project |
| 419 | pub fn with_projection(mut self, projection: Option<&'a [usize]>) -> Self { |
| 420 | self.projection = projection; |
| 421 | self |
| 422 | } |
| 423 | |
| 424 | /// Get the column projection for the scan. |
| 425 | /// |