DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/functions/createLiveQueryWindowController.md
createLiveQueryWindowController
ts
function createLiveQueryWindowController<T, TKey>(collection, options): LiveQueryWindowController<T, TKey>;Defined in: packages/db/src/live-query-window-controller.ts:1078
Internal
Create an internal forward-window controller for an ordered live query.
This factory is unstable while RFC #1623 is being implemented.
Type Parameters#
T#
T extends object
TKey#
TKey extends string | number
Parameters#
collection#
Collection<T, TKey, any, StandardSchemaV1<unknown, unknown>, T> | null | undefined
options#
CreateLiveQueryWindowControllerOptions = {}
Returns#
LiveQueryWindowController<T, TKey>