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

Method fold_sql_relation

prqlc/prqlc/src/sql/pq/ast.rs:218–225  ·  view source on GitHub ↗
(&mut self, relation: SqlRelation)

Source from the content-addressed store, hash-verified

216 }
217
218 fn fold_sql_relation(&mut self, relation: SqlRelation) -> Result<SqlRelation> {
219 Ok(match relation {
220 SqlRelation::AtomicPipeline(pipeline) => {
221 SqlRelation::AtomicPipeline(self.fold_sql_transforms(pipeline)?)
222 }
223 _ => relation,
224 })
225 }
226
227 fn fold_cte(&mut self, cte: Cte) -> Result<Cte> {
228 Ok(Cte {

Callers 2

fold_sql_queryMethod · 0.45
fold_cteMethod · 0.45

Implementers 1

postprocess.rsprqlc/prqlc/src/sql/pq/postprocess.rs

Calls 1

fold_sql_transformsMethod · 0.45

Tested by

no test coverage detected