1#ifndef _DITTO_DOCUMENT_ID_PATH_
2#define _DITTO_DOCUMENT_ID_PATH_
4#include "document_path_component.hpp"
27 std::vector<DocumentPathComponent> path_components;
Provides an interface to specify a path to a key in a document ID that you can then call a function o...
Definition: DocumentIdPath.hpp:22
double get_double_value() const
Returns the value at the previously specified key in the document ID as a double. If the key was inva...
Definition: DocumentIdPath.cpp:56
nlohmann::json get_json() const
Returns the value at the previously specified key in the document ID as a nlohmann::json object....
Definition: DocumentIdPath.cpp:80
float get_float_value() const
Returns the value at the previously specified key in the document ID as a float. If the key was inval...
Definition: DocumentIdPath.cpp:64
int get_int_value() const
Returns the value at the previously specified key in the document ID as an int. If the key was invali...
Definition: DocumentIdPath.cpp:48
bool get_bool_value() const
Returns the value at the previously specified key in the document ID as a bool. If the key was invali...
Definition: DocumentIdPath.cpp:72
std::string get_string_value() const
Returns the value at the previously specified key in the document ID as a std::string....
Definition: DocumentIdPath.cpp:40
basic_json<> json
default JSON class
Definition: json.hpp:2933
An identifier for a Document.
Definition: DocumentId.hpp:21