1#ifndef DITTO_UPDATE_RESULT_H
2#define DITTO_UPDATE_RESULT_H
4#include "DocumentId.hpp"
33struct DITTO_DEPRECATED_BECAUSE(
34 "Use DQL (Ditto Query Language) instead. For more information see: "
35 "https://ditto.com/link/legacy-to-dql-guide") UpdateResult {
36 DITTO_DISABLE_DEPRECATED_WARNINGS(
"The legacy query API is deprecated")
38 friend struct UpdateResultSet;
39 friend struct UpdateResultRemoved;
40 friend struct UpdateResultIncremented;
58 virtual ~UpdateResult() =
default;
71struct DITTO_DEPRECATED_BECAUSE(
72 "Use DQL (Ditto Query Language) instead. For more information see: "
73 "https://ditto.com/link/legacy-to-dql-guide") UpdateResultSet
75 friend class MutableDocumentPath;
84 nlohmann::json
value);
94struct DITTO_DEPRECATED_BECAUSE(
95 "Use DQL (Ditto Query Language) instead. For more information see: "
96 "https://ditto.com/link/legacy-to-dql-guide") UpdateResultRemoved
98 friend class MutableDocumentPath;
111struct DITTO_DEPRECATED_BECAUSE(
112 "Use DQL (Ditto Query Language) instead. For more information see: "
113 "https://ditto.com/link/legacy-to-dql-guide") UpdateResultIncremented
115 friend class MutableDocumentPath;
126 DITTO_REENABLE_WARNINGS
Namespace for the Ditto C++ SDK types and functions.
Definition AbstractDocumentPath.hpp:19
UpdateResultType
Describes the type of result of an update operation performed on a MutableDocument.
Definition UpdateResult.hpp:20
An identifier for a Document.
Definition DocumentId.hpp:23
std::string path
Definition UpdateResult.hpp:51
UpdateResultType type
Definition UpdateResult.hpp:56
DocumentId document_id
Definition UpdateResult.hpp:45
double amount
Definition UpdateResult.hpp:120
nlohmann::json value
Definition UpdateResult.hpp:80