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

Function createMessages

packages/db/tests/query/union-all.test-d.ts:43–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41type UserRow = OutputWithVirtual<User>
42
43function createMessages() {
44 return createCollection(
45 mockSyncCollectionOptions<Message>({
46 id: `multi-source-type-messages`,
47 getKey: (message) => message.id,
48 initialData: [],
49 }),
50 )
51}
52
53function createToolCalls() {
54 return createCollection(

Callers 1

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected