(conditional: ConditionalSelect)
| 77 | } |
| 78 | |
| 79 | function extractFromConditionalSelect(conditional: ConditionalSelect) { |
| 80 | for (const branch of conditional.branches) { |
| 81 | extractFromSelectValue(branch.value) |
| 82 | } |
| 83 | if (conditional.defaultValue !== undefined) { |
| 84 | extractFromSelectValue(conditional.defaultValue) |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | function extractFromSelectValue(value: any) { |
| 89 | if (value instanceof IncludesSubquery) { |
no test coverage detected