Ditto  1.0.14
Public Attributes | List of all members
ditto::Subscription Class Reference

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. More...

Public Attributes

std::string query
 
std::string collection_name
 

Detailed Description

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.

Member Data Documentation

◆ collection_name

std::string ditto::Subscription::collection_name

The name of the collection that the subscription is relevant to.

◆ query

std::string ditto::Subscription::query

The query being used for this Subscription.