Limit the number of rows returned Similar to `limit` but uses expressions for `skip` and `fetch`
(self, skip: Option<Expr>, fetch: Option<Expr>)
| 667 | /// |
| 668 | /// Similar to `limit` but uses expressions for `skip` and `fetch` |
| 669 | pub fn limit_by_expr(self, skip: Option<Expr>, fetch: Option<Expr>) -> Result<Self> { |
| 670 | Ok(Self::new(LogicalPlan::Limit(Limit { |
| 671 | skip: skip.map(Box::new), |
| 672 | fetch: fetch.map(Box::new), |
| 673 | input: self.plan, |
| 674 | }))) |
| 675 | } |
| 676 | |
| 677 | /// Apply an alias |
| 678 | pub fn alias(self, alias: impl Into<TableReference>) -> Result<Self> { |
no test coverage detected