1#ifndef _DITTO_SINGLE_DOCUMENT_LIVE_QUERY_EVENT_
2#define _DITTO_SINGLE_DOCUMENT_LIVE_QUERY_EVENT_
40 static uint64_t hash(std::shared_ptr<Document> document);
50 static std::string
hash_mnemonic(std::shared_ptr<Document> document);
These objects are returned when using Collection::find_by_id functionality.
Definition PendingIDSpecificOperation.hpp:40
Provides information about a live query event relating to a single document live query.
Definition SingleDocumentLiveQueryEvent.hpp:16
bool is_initial
Definition SingleDocumentLiveQueryEvent.hpp:27
static uint64_t hash(std::shared_ptr< Document > document)
Returns a hash that represents the document.
Definition SingleDocumentLiveQueryEvent.cpp:13
std::shared_ptr< Document > old_document
Definition SingleDocumentLiveQueryEvent.hpp:32
static std::string hash_mnemonic(std::shared_ptr< Document > document)
Returns a pattern of words that together create a mnemonic, which represents the document.
Definition SingleDocumentLiveQueryEvent.cpp:17