21 #ifndef _PLUGINS_MONGODB_UTILS_H_
22 #define _PLUGINS_MONGODB_UTILS_H_
24 #include <bsoncxx/document/element.hpp>
25 #include <bsoncxx/document/view.hpp>
29 bool check_mongodb_ok(
const bsoncxx::document::view &reply);
30 bsoncxx::document::element get_dotted_field(
const bsoncxx::document::view &doc,
31 const std::string & key);
32 std::pair<std::string, std::string> split_db_collection_string(
const std::string &dbcollection);