Ditto 4.13.1
 
Loading...
Searching...
No Matches
MutableRegister.hpp
1
2#ifndef DITTO_MUTABLE_REGISTER_H
3#define DITTO_MUTABLE_REGISTER_H
4
5#include "MutableDocumentPath.hpp"
6#include "Register.hpp"
7#include "json.hpp"
8
9namespace ditto {
10
15class DITTO_DEPRECATED_BECAUSE(
16 "Use DQL (Ditto Query Language) instead. For more information see: "
17 "https://ditto.com/link/legacy-to-dql-guide") MutableRegister
18 : public Register {
19 DITTO_DISABLE_DEPRECATED_WARNINGS("The legacy query API is deprecated")
20
21 friend class MutableDocumentPath;
22
23public:
24 void set(nlohmann::json value);
25
26private:
27 MutableRegister(const nlohmann::json &info, MutableDocumentPath doc_path);
28 MutableDocumentPath doc_path;
29
30 DITTO_REENABLE_WARNINGS
31};
32} // namespace ditto
33
34#endif
Namespace for the Ditto C++ SDK types and functions.
Definition AbstractDocumentPath.hpp:19