(ctx: &Context, span: Option<Span>)
| 696 | } |
| 697 | |
| 698 | pub(super) fn translate_star(ctx: &Context, span: Option<Span>) -> Result<String> { |
| 699 | if !ctx.query.allow_stars { |
| 700 | Err( |
| 701 | Error::new_simple("Target dialect does not support * in this position.") |
| 702 | .with_span(span), |
| 703 | ) |
| 704 | } else { |
| 705 | Ok("*".to_string()) |
| 706 | } |
| 707 | } |
| 708 | |
| 709 | pub(super) fn translate_sstring( |
| 710 | items: Vec<InterpolateItem<rq::Expr>>, |
no test coverage detected