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

CreateLiveQueryWindowControllerOptions.md

48 lines1.3 KB

Interface: CreateLiveQueryWindowControllerOptions

Defined in: packages/db/src/live-query-window-controller.ts:501

Internal

This contract is unstable while RFC #1623 is being implemented.

Properties

initialPageCount?

optional initialPageCount: number;

Defined in: packages/db/src/live-query-window-controller.ts:507

Committed pages to preserve when a framework binding changes page shape.


initialPageParam?

optional initialPageParam: number;

Defined in: packages/db/src/live-query-window-controller.ts:505

Value of the first page's pageParam (default 0).


pageSize?

optional pageSize: number;

Defined in: packages/db/src/live-query-window-controller.ts:503

Rows per page (default 20). Invalid values use the default.