Interface LazyPendingIDSpecificOperationReturn

interface LazyPendingIDSpecificOperationReturn {
    collection: Collection;
    ditto: Ditto;
    document: Document;
    event?: SingleDocumentLiveQueryEvent;
    exec: ((params) => Promise<void>);
    liveQuery: LiveQuery;
    subscription: Subscription;
}

Properties

collection: Collection

Current Ditto collection instance.

ditto: Ditto

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

document: Document

The document found for the current query.

event?: SingleDocumentLiveQueryEvent

The last SingleDocumentLiveQueryEvent received by the query observer.

exec: ((params) => Promise<void>)

Function used to trigger a query on a collection

Type declaration

liveQuery: LiveQuery

Currently active live query.

subscription: Subscription

Currently active live query.