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

shouldPreserveLiveQueryWindowPageCount.md

52 lines823 Bytes

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