MCPcopy Create free account
hub / github.com/PRQL/prql / all

Function all

prqlc/prqlc/src/sql/gen_query.rs:614–626  ·  view source on GitHub ↗
(mut exprs: Vec<Expr>)

Source from the content-addressed store, hash-verified

612}
613
614fn all(mut exprs: Vec<Expr>) -> Option<Expr> {
615 let mut condition = exprs.pop()?;
616 while let Some(expr) = exprs.pop() {
617 condition = Expr {
618 kind: ExprKind::Operator {
619 name: "std.and".to_string(),
620 args: vec![expr, condition],
621 },
622 span: None,
623 };
624 }
625 Some(condition)
626}
627
628fn default_query(body: sql_ast::SetExpr) -> sql_ast::Query {
629 sql_ast::Query {

Callers 2

filter_of_conditionsFunction · 0.85
replace_examplesFunction · 0.85

Calls 1

popMethod · 0.80

Tested by

no test coverage detected