1#ifndef _DITTO_SUBSCRIPTION_
2#define _DITTO_SUBSCRIPTION_
11class DittoHandleWrapper;
23 std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper;
25 std::shared_ptr<OrderBy> order_by;
29 Subscription(std::shared_ptr<DittoHandleWrapper> ditto_handle_wrapper,
31 std::shared_ptr<OrderBy> order_by, int32_t limit,
34 void on_stop()
override;
An observation token returned by any observation API in the Ditto SDK. Retain this object to continue...
Definition: Observer.hpp:11
These objects are returned when using find-like functionality on Collection objects.
Definition: PendingCursorOperation.hpp:44
These objects are returned when using Collection::find_by_id functionality.
Definition: PendingIDSpecificOperation.hpp:40
While Subscription objects remain in scope they ensure that documents in the collection specified,...
Definition: Subscription.hpp:19
std::string query
Definition: Subscription.hpp:40
std::string collection_name
Definition: Subscription.hpp:45
basic_json<> json
default JSON class
Definition: json.hpp:2933