|
|
Namespaces | |
| detail | |
Functions | |
| std::optional< mongocxx::collection > | collectionExists (mongocxx::database &db, const std::string &collectionName) |
| std::optional< mongocxx::database > | databaseExists (mongocxx::client &client, const std::string &databaseName) |
| std::optional< nlohmann::json > | documentExists (mongocxx::collection &collection, const nlohmann::json &json) |
| mongocxx::collection | ensureCollectionExists (mongocxx::database &db, const std::string &collectionName, bool createIfNotExistent) |
| mongocxx::database | ensureDatabaseExists (mongocxx::client &client, const std::string &databaseName, bool createIfNotExistent) |
| nlohmann::json | ensureDocumentExists (mongocxx::collection &collection, const nlohmann::json &json, bool createIfNotExistent) |
| std::vector< nlohmann::json > | getAllDocuments (mongocxx::collection &collection) |
| nlohmann::json | readDataFromDocument (mongocxx::collection &collection, const nlohmann::json &json) |
| std::string | toCollectionName (const armem::MemoryID &id) |
| std::string | toDocumentID (const armem::MemoryID &id) |
| void | writeDataToDocument (mongocxx::collection &collection, const nlohmann::json &query, const nlohmann::json &update) |
| std::optional< mongocxx::collection > collectionExists | ( | mongocxx::database & | db, |
| const std::string & | collectionName | ||
| ) |
| std::optional< mongocxx::database > databaseExists | ( | mongocxx::client & | client, |
| const std::string & | databaseName | ||
| ) |
| std::optional< nlohmann::json > documentExists | ( | mongocxx::collection & | collection, |
| const nlohmann::json & | json | ||
| ) |
Definition at line 176 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| mongocxx::collection ensureCollectionExists | ( | mongocxx::database & | db, |
| const std::string & | collectionName, | ||
| bool | createIfNotExistent | ||
| ) |
Definition at line 122 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| mongocxx::database ensureDatabaseExists | ( | mongocxx::client & | client, |
| const std::string & | databaseName, | ||
| bool | createIfNotExistent | ||
| ) |
Definition at line 95 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| nlohmann::json ensureDocumentExists | ( | mongocxx::collection & | collection, |
| const nlohmann::json & | json, | ||
| bool | createIfNotExistent | ||
| ) |
Definition at line 182 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::vector< nlohmann::json > getAllDocuments | ( | mongocxx::collection & | collection | ) |
Definition at line 240 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| nlohmann::json readDataFromDocument | ( | mongocxx::collection & | collection, |
| const nlohmann::json & | json | ||
| ) |
Definition at line 211 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string toCollectionName | ( | const armem::MemoryID & | id | ) |
Definition at line 151 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string toDocumentID | ( | const armem::MemoryID & | id | ) |
Definition at line 139 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void writeDataToDocument | ( | mongocxx::collection & | collection, |
| const nlohmann::json & | query, | ||
| const nlohmann::json & | update | ||
| ) |
Definition at line 222 of file mongodb.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: