(take: i64, ctx: &mut Context)
| 769 | } |
| 770 | |
| 771 | pub(super) fn fetch_of_i64(take: i64, ctx: &mut Context) -> Fetch { |
| 772 | let kind = rq::ExprKind::Literal(Literal::Integer(take)); |
| 773 | let expr = rq::Expr { kind, span: None }; |
| 774 | Fetch { |
| 775 | quantity: Some(translate_expr(expr, ctx).unwrap().into_ast()), |
| 776 | with_ties: false, |
| 777 | percent: false, |
| 778 | } |
| 779 | } |
| 780 | |
| 781 | pub(super) fn translate_select_item(cid: rq::CId, ctx: &mut Context) -> Result<SelectItem> { |
| 782 | let expr = translate_cid(cid, ctx)?.into_ast(); |
no test coverage detected