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

shouldPreserveLiveQueryWindowPageCount.md

50 lines769 Bytes

1---
2id: shouldPreserveLiveQueryWindowPageCount
3title: shouldPreserveLiveQueryWindowPageCount
4---
5​
6```ts
7function shouldPreserveLiveQueryWindowPageCount(options): boolean;
8```
9​
10Defined in: [packages/db/src/live-query-window-controller.ts:487](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-window-controller.ts#L487)
11​
12**`Internal`**
13​
14Shared page-depth preservation policy for framework adapters.
15​
16## Parameters
17​
18### options
19​
20#### dependenciesChanged
21​
22`boolean`
23​
24#### dependenciesStructurallyEqual
25​
26`boolean`
27​
28#### hasPreviousController
29​
30`boolean`
31​
32#### inputKind
33​
34`"collection"` \| `"query"`
35​
36#### pageShapeChanged
37​
38`boolean`
39​
40#### previousInputKind
41​
42`"collection"` \| `"query"` \| `undefined`
43​
44#### sameCollection
45​
46`boolean`
47​
48## Returns
49​
50`boolean`