23 #include <IceUtil/UUID.h>
33 iceId.name = IceUtil::generateUUID();
41 std::unique_lock lock(dbConnectionMutex);
42 return dbConn->requestCollection(getCollectionNS(collName),
c);
47 std::unique_lock lock(dbConnectionMutex);
48 return dbConn->releaseCollection(coll,
c);
53 std::unique_lock lock(dbConnectionMutex);
54 dbConn->dropCollection(getCollectionNS(collName),
c);
67 std::string Database::getCollectionNS(std::string collName)
69 return dbName +
"." + collName;