(query: SqlQuery, ctx: &mut Context)
| 19 | type Sorting = Vec<ColumnSort<CId>>; |
| 20 | |
| 21 | pub(super) fn postprocess(query: SqlQuery, ctx: &mut Context) -> SqlQuery { |
| 22 | let query = infer_sorts(query, ctx); |
| 23 | |
| 24 | assign_names(query, ctx) |
| 25 | } |
| 26 | |
| 27 | /// Pushes sorts down the pipelines and materializes them only where they are needed. |
| 28 | fn infer_sorts(query: SqlQuery, ctx: &mut Context) -> SqlQuery { |
no test coverage detected