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

Function createToolCallsCollection

packages/db/tests/query/union-all.test.ts:101–109  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

99}
100
101function createToolCallsCollection(id: string) {
102 return createCollection(
103 mockSyncCollectionOptions<ToolCall>({
104 id,
105 getKey: (toolCall) => toolCall.id,
106 initialData: toolCallsData,
107 }),
108 )
109}
110
111function createChunksCollection(id: string) {
112 return createCollection(

Callers 1

union-all.test.tsFile · 0.85

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected