본문으로 건너뛰기

함수: createLiveQueryWindowController()

function createLiveQueryWindowController<T, TKey>(collection, options): LiveQueryWindowController<T, TKey>;

정의 위치: packages/db/src/live-query-window-controller.ts:1016

Internal

정렬된 라이브 쿼리를 위한 내부 정방향 윈도우 컨트롤러를 생성합니다.

RFC #1623이 구현되는 동안 이 팩토리는 불안정합니다.

타입 매개변수​

T​

T 확장 object

TKey​

TKey 확장 string | number

매개변수​

collection​

Collection&lt;T, TKey, any, StandardSchemaV1&lt;unknown, unknown>, T> | null | undefined

options​

CreateLiveQueryWindowControllerOptions = {}

반환값​

LiveQueryWindowController&lt;T, TKey>