(key)
| 252 | }; |
| 253 | }, |
| 254 | getPropIndex(key) { |
| 255 | const existingIndex = propIndexMap.get(key); |
| 256 | |
| 257 | if (existingIndex) return existingIndex; |
| 258 | |
| 259 | const newIndex = createQueryFieldIndex(key, store, cleanup); |
| 260 | |
| 261 | propIndexMap.set(key, newIndex); |
| 262 | |
| 263 | return newIndex; |
| 264 | }, |
| 265 | add(entity) { |
| 266 | const id = getEntityId(entity); |
| 267 |
nothing calls this directly
no test coverage detected