MCPcopy Create free account
hub / github.com/TanStack/db / cleanup

Method cleanup

packages/db/src/collection/indexes.ts:375–378  ·  view source on GitHub ↗

* Clean up indexes

()

Source from the content-addressed store, hash-verified

373 * Clean up indexes
374 */
375 public cleanup(): void {
376 this.indexes.clear()
377 this.indexMetadata.clear()
378 }
379}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected