(conditional: ConditionalSelect)
| 194 | } |
| 195 | |
| 196 | function traverseConditionalSelect(conditional: ConditionalSelect) { |
| 197 | for (const branch of conditional.branches) { |
| 198 | traverseSelectValue(branch.value) |
| 199 | } |
| 200 | if (conditional.defaultValue !== undefined) { |
| 201 | traverseSelectValue(conditional.defaultValue) |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | function traverseSelectValue(value: any) { |
| 206 | if (value instanceof IncludesSubquery) { |
no test coverage detected