23 #ifndef _PLUGINS_MONGODB_ASPECT_MONGODB_CONNCREATOR_H_
24 #define _PLUGINS_MONGODB_ASPECT_MONGODB_CONNCREATOR_H_
29 #include <mongocxx/client.hpp>
47 virtual mongocxx::client *
create_client(
const std::string &config_name =
"") = 0;
Interface for a MongoDB connection creator.
virtual mongocxx::client * create_client(const std::string &config_name="")=0
Create a new MongoDB client.
virtual void delete_client(mongocxx::client *client)=0
Delete a client.
Fawkes library namespace.