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

Method fold_rel

prqlc/prqlc/src/sql/pq/postprocess.rs:313–315  ·  view source on GitHub ↗
(&mut self, rel: RelationExpr)

Source from the content-addressed store, hash-verified

311
312impl PqMapper<RelationExpr, RelationExpr, (), ()> for SortingInference<'_> {
313 fn fold_rel(&mut self, rel: RelationExpr) -> Result<RelationExpr> {
314 Ok(rel)
315 }
316
317 fn fold_super(&mut self, sup: ()) -> Result<()> {
318 Ok(sup)

Callers

nothing calls this directly

Calls 5

get_mutMethod · 0.80
mapMethod · 0.80
genMethod · 0.80
fold_sql_relationMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected