(condition: Condition)
| 69 | * @returns Array of index hints that could optimize this condition. |
| 70 | */ |
| 71 | export function analyzeCondition(condition: Condition): IndexHint[] { |
| 72 | const hints: IndexHint[] = []; |
| 73 | analyzeConditionRecursive(condition, hints); |
| 74 | return hints; |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Recursively analyze a condition tree. |
no test coverage detected