1#ifndef DITTO_SINGLE_DOCUMENT_LIVE_QUERY_EVENT_H
2#define DITTO_SINGLE_DOCUMENT_LIVE_QUERY_EVENT_H
19class DITTO_DEPRECATED_BECAUSE(
20 "Use DQL (Ditto Query Language) instead. For more information see: "
21 "https://ditto.com/link/legacy-to-dql-guide") SingleDocumentLiveQueryEvent {
22 DITTO_DISABLE_DEPRECATED_WARNINGS(
"The legacy query API is deprecated")
24 friend class PendingIDSpecificOperation;
47 static uint64_t
hash(std::shared_ptr<Document> document);
59 DITTO_REENABLE_WARNINGS
static std::string hash_mnemonic(std::shared_ptr< Document > document)
Returns a pattern of words that together create a mnemonic, which represents the document.
bool is_initial
Definition SingleDocumentLiveQueryEvent.hpp:34
std::shared_ptr< Document > old_document
Definition SingleDocumentLiveQueryEvent.hpp:39
static uint64_t hash(std::shared_ptr< Document > document)
Returns a hash that represents the document.
Namespace for the Ditto C++ SDK types and functions.
Definition AbstractDocumentPath.hpp:19