(evalId?: string)
| 101 | } |
| 102 | |
| 103 | export function clearCountCache(evalId?: string) { |
| 104 | if (evalId) { |
| 105 | distinctCountCache.delete(`distinct:${evalId}`); |
| 106 | totalRowCountCache.delete(`total:${evalId}`); |
| 107 | } else { |
| 108 | distinctCountCache.clear(); |
| 109 | totalRowCountCache.clear(); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | // Optimized query for test indices without heavy JSON search |
| 114 | export async function queryTestIndicesOptimized( |
no test coverage detected
searching dependent graphs…