Add all elements from `iter` to the `LexOrdering`.
(&mut self, sort_exprs: impl IntoIterator<Item = PhysicalSortExpr>)
| 391 | |
| 392 | /// Add all elements from `iter` to the `LexOrdering`. |
| 393 | pub fn extend(&mut self, sort_exprs: impl IntoIterator<Item = PhysicalSortExpr>) { |
| 394 | for sort_expr in sort_exprs { |
| 395 | self.push(sort_expr); |
| 396 | } |
| 397 | } |
| 398 | |
| 399 | /// Returns the leading `PhysicalSortExpr` of the `LexOrdering`. Note that |
| 400 | /// this function does not return an `Option`, as a `LexOrdering` is always |