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

readLiveQueryWindowPageShape.md

29 lines639 Bytes

1---
2id: readLiveQueryWindowPageShape
3title: readLiveQueryWindowPageShape
4---
5​
6```ts
7function readLiveQueryWindowPageShape(config): LiveQueryWindowPageShape;
8```
9​
10Defined in: [packages/db/src/live-query-window-binding.ts:47](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-binding.ts#L47)
11​
12Read an infinite-query config's page shape. `getNextPageParam` is rejected:
13the hook widens an ordered live query and has no server cursor to advance.
14​
15## Parameters
16​
17### config
18​
19#### initialPageParam?
20​
21`number`
22​
23#### pageSize?
24​
25`number`
26​
27## Returns
28​
29[`LiveQueryWindowPageShape`](../interfaces/LiveQueryWindowPageShape.md)