Iterate over all the [`ViewDef`]s defined by the module, in alphabetical order by name. Sorting is necessary to have deterministic reproducible codegen.
(module: &ModuleDef)
| 163 | /// |
| 164 | /// Sorting is necessary to have deterministic reproducible codegen. |
| 165 | pub(super) fn iter_views(module: &ModuleDef) -> impl Iterator<Item = &ViewDef> { |
| 166 | module.views().sorted_by_key(|view| &view.name) |
| 167 | } |
| 168 | |
| 169 | /// Iterate over the names of all the tables and views defined by the module, in alphabetical order. |
| 170 | /// |
no test coverage detected
searching dependent graphs…