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

getLiveQueryWindowCollectionWarning.md

33 lines754 Bytes

Function: getLiveQueryWindowCollectionWarning()

function getLiveQueryWindowCollectionWarning(collection, expectedLimit): string | undefined;

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

Internal

Validate a pre-created infinite-query collection and describe any window adjustment the adapter should warn about.

Shared validation for infinite-query adapters.

Parameters

collection

Collection<any, any, any>

expectedLimit

number

Returns

string | undefined