MCPcopy Create free account
hub / github.com/clientdb/clientdb / removeEntityFromIndexes

Function removeEntityFromIndexes

core/store.ts:188–192  ·  view source on GitHub ↗
(entity: StoreEntity)

Source from the content-addressed store, hash-verified

186 }
187
188 function removeEntityFromIndexes(entity: StoreEntity) {
189 for (const [indexKey, index] of propIndexMap.entries()) {
190 index.remove(entity);
191 }
192 }
193
194 const store: EntityStore<Data, View> = {
195 get all() {

Callers 1

removeFunction · 0.85

Calls 1

removeMethod · 0.65

Tested by

no test coverage detected