(select: any)
| 179 | } |
| 180 | |
| 181 | function traverseSelect(select: any) { |
| 182 | for (const [key, value] of Object.entries(select)) { |
| 183 | if (typeof key === `string` && key.startsWith(`__SPREAD_SENTINEL__`)) { |
| 184 | continue |
| 185 | } |
| 186 | if (value instanceof IncludesSubquery) { |
| 187 | traverse(value.query) |
| 188 | } else if (value instanceof ConditionalSelect) { |
| 189 | traverseConditionalSelect(value) |
| 190 | } else if (isNestedSelectObject(value)) { |
| 191 | traverseSelect(value) |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | function traverseConditionalSelect(conditional: ConditionalSelect) { |
| 197 | for (const branch of conditional.branches) { |
no test coverage detected