|
Couchbase C++ SDK 1.4.0 (rev. 59aa900)
|
#include <couchbase/lookup_in_specs.hxx>
Public Member Functions | |
| lookup_in_specs ()=default | |
| template<typename... Operation> | |
| lookup_in_specs (Operation... args) | |
| template<typename Operation> | |
| void | push_back (const Operation &operation) |
| Add subdocument operation to list of specs. | |
| template<typename Operation, typename... Rest> | |
| void | push_back (const Operation &operation, Rest... args) |
| Add subdocument operations to list of specs. | |
| auto | specs () const -> const std::vector< core::impl::subdoc::command > & |
| Returns internal representation of the specs. | |
Static Public Member Functions | |
| static auto | get (std::string path) -> subdoc::get |
| Fetches the content from a field (if present) at the given path. | |
| static auto | get (subdoc::lookup_in_macro macro) -> subdoc::get |
| Fetches the content from a field represented by given virtual attribute (macro). | |
| static auto | exists (std::string path) -> subdoc::exists |
| Checks if a value at the given path exists in the document. | |
| static auto | count (std::string path) -> subdoc::count |
| Counts the number of values at a given path in the document. | |
|
default |
|
inlineexplicit |
|
inlinestatic |
Counts the number of values at a given path in the document.
| path | the path identifying where to count the values. |
|
inlinestatic |
Checks if a value at the given path exists in the document.
| path | the path to check if the field exists. |
|
inlinestatic |
Fetches the content from a field (if present) at the given path.
| path | the path identifying where to get the value. |
|
inlinestatic |
Fetches the content from a field represented by given virtual attribute (macro).
| macro | the path identifying where to get the value. |
|
inline |
Add subdocument operation to list of specs.
| Operation | type of the subdocument operation |
| operation | operation to execute |
|
inline |
Add subdocument operations to list of specs.
| Operation | type of the subdocument operation |
| Rest | types of the rest of the operations |
| operation | operation to execute |
| args | the rest of the arguments |
|
nodiscard |