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

Function sendIssueData

packages/db/tests/query/compiler/subqueries.test.ts:102–111  ·  view source on GitHub ↗
(input: any, issues: Array<Issue>)

Source from the content-addressed store, hash-verified

100
101// Helper functions to create D2-compatible inputs and send data
102const sendIssueData = (input: any, issues: Array<Issue>) => {
103 input.sendData(
104 new MultiSet(
105 issues.map((issue) => [
106 [issue.id, issue as unknown as Record<string, unknown>],
107 1,
108 ]),
109 ),
110 )
111}
112
113const sendUserData = (input: any, users: Array<User>) => {
114 input.sendData(

Callers 1

subqueries.test.tsFile · 0.85

Calls 2

sendDataMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected