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

LiveQueryWindowBinding.md

121 lines2.9 KB

Defined in: packages/db/src/live-query-window-binding.ts:86

Validated infinite-query page shape.

Extends

Properties

collection

collection: Collection<any, any, any>;

Defined in: packages/db/src/live-query-window-binding.ts:91


controller

controller: LiveQueryWindowController<any, any>;

Defined in: packages/db/src/live-query-window-binding.ts:94


dependencies

dependencies: readonly unknown[] | undefined;

Defined in: packages/db/src/live-query-window-binding.ts:89


initialPageParam

initialPageParam: number;

Defined in: packages/db/src/live-query-window-binding.ts:36

First result-page label, not a server cursor or remote offset.

Inherited from

LiveQueryWindowPageShape.initialPageParam


ownsCollection

ownsCollection: boolean;

Defined in: packages/db/src/live-query-window-binding.ts:93

Whether this binding created collection from a query.


pageSize

pageSize: number;

Defined in: packages/db/src/live-query-window-binding.ts:34

Inherited from

LiveQueryWindowPageShape.pageSize


scope

scope: unknown;

Defined in: packages/db/src/live-query-window-binding.ts:90


supplied

supplied: 
  | Collection<any, any, any, StandardSchemaV1<unknown, unknown>, any>
  | undefined;

Defined in: packages/db/src/live-query-window-binding.ts:88

The supplied Collection; undefined for a query input.


warning

warning: string | undefined;

Defined in: packages/db/src/live-query-window-binding.ts:99

A developer hint about a newly bound supplied collection's window, for the adapter to print once. Production builds carry none.