Used to subscribe to receive updates from remote peers about matching documents.

While Subscription objects remain in scope they ensure that documents in the collection specified and that match the query provided will try to be kept up-to-date with the latest changes from remote peers.

This class is used by Ditto's query builder APIs.

SyncSubscription for the DQL equivalent.

Not available in React Native environments.

Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption

Properties

Accessors

Methods

Properties

query: string

The query that the subscription is based on.

Use DQL (Ditto Query Language) instead. For more information see: https://ditto.com/link/dql-legacy-to-dql-adoption

Accessors

Methods