Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

trackQuery.md

33 lines439 Bytes

1---
2id: trackQuery
3title: trackQuery
4---
5​
6```ts
7function trackQuery(
8 collectionId,
9 fieldPath,
10 executionTimeMs): void;
11```
12​
13Defined in: [packages/db/src/indexes/index-registry.ts:96](https://github.com/TanStack/db/blob/main/packages/db/src/indexes/index-registry.ts#L96)
14​
15Track a query for dev mode analysis
16​
17## Parameters
18​
19### collectionId
20​
21`string`
22​
23### fieldPath
24​
25`string`[]
26​
27### executionTimeMs
28​
29`number`
30​
31## Returns
32​
33`void`