(table: &TableDef)
| 209 | } |
| 210 | |
| 211 | pub(super) fn iter_indexes(table: &TableDef) -> impl Iterator<Item = &IndexDef> { |
| 212 | table.indexes.values().sorted_by_key(|index| &index.name) |
| 213 | } |
| 214 | |
| 215 | pub(super) fn iter_constraints(table: &TableDef) -> impl Iterator<Item = &ConstraintDef> { |
| 216 | table.constraints.values().sorted_by_key(|constraint| &constraint.name) |
no test coverage detected
searching dependent graphs…