|
Functions | |
std::optional< nlohmann::json > | contains (mongocxx::collection &coll, const nlohmann::json &value) |
std::string | escapeName (const std::string &segmentName) |
bool | insert (mongocxx::collection &coll, const nlohmann::json &value) |
std::string | unescapeName (const std::string &escapedName) |
bool | update (mongocxx::collection &coll, const nlohmann::json &query, const nlohmann::json &update) |
bool | update (mongocxx::collection &coll, const nlohmann::json &query, const std::string &vkey, const nlohmann::json &vdata) |
Variables | |
const std::map< std::string, std::string > | EscapeTable = {{"/", "|"}} |
std::optional< nlohmann::json > contains | ( | mongocxx::collection & | coll, |
const nlohmann::json & | value | ||
) |
Definition at line 53 of file mongodb.cpp.
std::string escapeName | ( | const std::string & | segmentName | ) |
Definition at line 18 of file mongodb.cpp.
bool insert | ( | mongocxx::collection & | coll, |
const nlohmann::json & | value | ||
) |
Definition at line 43 of file mongodb.cpp.
std::string unescapeName | ( | const std::string & | escapedName | ) |
Definition at line 30 of file mongodb.cpp.
bool armarx::armem::server::ltm::util::mongodb::detail::update | ( | mongocxx::collection & | coll, |
const nlohmann::json & | query, | ||
const nlohmann::json & | update | ||
) |
bool armarx::armem::server::ltm::util::mongodb::detail::update | ( | mongocxx::collection & | coll, |
const nlohmann::json & | query, | ||
const std::string & | vkey, | ||
const nlohmann::json & | vdata | ||
) |