MCPcopy Index your code
hub / github.com/TanStack/db / query

Function query

packages/db/src/query/query-once.ts:103–106  ·  view source on GitHub ↗
(q: InitialQueryBuilder)

Source from the content-addressed store, hash-verified

101 : configOrQuery
102
103 const query = (q: InitialQueryBuilder) => {
104 const queryConfig = config.query
105 return typeof queryConfig === `function` ? queryConfig(q) : queryConfig
106 }
107
108 // Create collection with minimal GC time; preload handles sync start
109 const collection = createLiveQueryCollection({

Callers 2

injectLiveQueryFunction · 0.85
TestComponentFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestComponentFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…