Interface PendingCursorOperationReturn

interface PendingCursorOperationReturn {
    collection: Collection;
    ditto: Ditto;
    documents: Document[];
    liveQuery: LiveQuery;
    liveQueryEvent: LiveQueryEvent;
    reset: (() => void);
    subscription: Subscription;
}

Properties

collection: Collection

Current Ditto collection instance.

ditto: Ditto

The initialized Ditto instance if one could be found for the provided path.

documents: Document[]

The set of documents found for the current query.

liveQuery: LiveQuery

Currently active live query.

liveQueryEvent: LiveQueryEvent

The last LiveQueryEvent received by the query observer.

reset: (() => void)

A function used to stop the currect live query and create a new one using the current input params.

Type declaration

    • (): void
    • Returns void

subscription: Subscription

Currently active subscription.