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

Method constructor

packages/db/src/collection/mutations.ts:51–54  ·  view source on GitHub ↗
(config: CollectionConfig<TOutput, TKey, TSchema>, id: string)

Source from the content-addressed store, hash-verified

49 private id: string
50
51 constructor(config: CollectionConfig<TOutput, TKey, TSchema>, id: string) {
52 this.id = id
53 this.config = config
54 }
55
56 setDeps(deps: {
57 lifecycle: CollectionLifecycleManager<TOutput, TKey, TSchema, TInput>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected