52 const std::string& collection_name)
MessageCollection< M >::Ptr openCollectionPtr(const std::string &db_name, const std::string &collection_name)
Open a collection on the DB. The collection is created if it doesn't exist. A DbClientConnection exce...
Couldn't connect to database.
virtual bool isConnected()=0
Returns whether the database is connected.
boost::shared_ptr< MessageCollection< M > > Ptr
virtual MessageCollectionHelper::Ptr openCollectionHelper(const std::string &db_name, const std::string &collection_name)=0
MessageCollection< M > openCollection(const std::string &db_name, const std::string &collection_name)
Open a collection on the DB. The collection is created if it doesn't exist. A DbClientConnection exce...