MongoDB C++ Driver
legacy-1.1.2
|
This is the complete list of members for mongo::DBClientBase, including all inherited members.
_authMongoCR(const std::string &dbname, const std::string &username, const std::string &pwd, BSONObj *info, bool digestPassword) | mongo::DBClientWithCommands | protected |
_authX509(const std::string &dbname, const std::string &username, BSONObj *info) | mongo::DBClientWithCommands | protected |
_logLevel | mongo::DBClientWithCommands | |
_runCommandHook | mongo::DBClientWithCommands | protected |
auth(const BSONObj ¶ms) | mongo::DBClientWithCommands | |
auth(const std::string &dbname, const std::string &username, const std::string &pwd, std::string &errmsg, bool digestPassword=true) | mongo::DBClientWithCommands | |
availableOptions() | mongo::DBClientWithCommands | protected |
call(Message &toSend, Message &response, bool assertOk=true, std::string *actualServer=0)=0 | mongo::DBConnector | pure virtual |
copyDatabase(const std::string &fromdb, const std::string &todb, const std::string &fromhost="", const std::string &mechanism="DEFAULT", const std::string &username="", const std::string &password="", BSONObj *info=0) | mongo::DBClientWithCommands | |
count(const std::string &ns, const Query &query=Query(), int options=0, int limit=0, int skip=0) | mongo::DBClientWithCommands | virtual |
createCollection(const std::string &ns, long long size=0, bool capped=false, int max=0, BSONObj *info=0) | mongo::DBClientWithCommands | |
createCollectionWithOptions(const std::string &ns, long long size=0, bool capped=false, int max=0, const BSONObj &extraOptions=BSONObj(), BSONObj *info=0) | mongo::DBClientWithCommands | |
createIndex(const StringData &ns, const BSONObj &keys) | mongo::DBClientWithCommands | inline |
createIndex(const StringData &ns, const IndexSpec &descriptor) | mongo::DBClientWithCommands | virtual |
distinct(const StringData &ns, const StringData &field, const Query &query=Query()) | mongo::DBClientWithCommands | |
dropCollection(const std::string &ns, BSONObj *info=NULL) | mongo::DBClientWithCommands | inlinevirtual |
dropDatabase(const std::string &dbname, BSONObj *info=0) | mongo::DBClientWithCommands | inlinevirtual |
dropIndexes(const std::string &ns) | mongo::DBClientWithCommands | virtual |
enumerateCollections(const std::string &db, const BSONObj &filter=BSONObj(), int batchSize=0) | mongo::DBClientWithCommands | |
eval(const std::string &dbname, const std::string &jscode, BSONObj &info, BSONElement &retValue, BSONObj *args=0, bool nolock=false) | mongo::DBClientWithCommands | inline |
findAndModify(const StringData &ns, const BSONObj &query, const BSONObj &update, bool upsert=false, bool returnNew=false, const BSONObj &sort=BSONObj(), const BSONObj &fields=BSONObj(), const WriteConcern *wc=NULL, bool bypassDocumentValidation=false) | mongo::DBClientBase | |
findAndRemove(const StringData &ns, const BSONObj &query, const BSONObj &sort=BSONObj(), const BSONObj &fields=BSONObj(), const WriteConcern *wc=NULL) | mongo::DBClientBase | |
findN(std::vector< BSONObj > &out, const std::string &ns, Query query, int nToReturn, int nToSkip=0, const BSONObj *fieldsToReturn=0, int queryOptions=0, int batchSize=0) | mongo::DBClientInterface | |
findOne(const std::string &ns, const Query &query, const BSONObj *fieldsToReturn=0, int queryOptions=0) | mongo::DBClientInterface | virtual |
getCollectionInfos(const std::string &db, const BSONObj &filter=BSONObj()) | mongo::DBClientWithCommands | |
getCollectionNames(const std::string &db, const BSONObj &filter=BSONObj()) | mongo::DBClientWithCommands | |
getDatabaseNames() | mongo::DBClientWithCommands | |
getIndexNames(const std::string &ns, int options=0) | mongo::DBClientWithCommands | virtual |
getLastError(const std::string &db, bool fsync=false, bool j=false, int w=0, int wtimeout=0) | mongo::DBClientWithCommands | |
getLastError(bool fsync=false, bool j=false, int w=0, int wtimeout=0) | mongo::DBClientWithCommands | |
getLastErrorDetailed(const std::string &db, bool fsync=false, bool j=false, int w=0, int wtimeout=0) | mongo::DBClientWithCommands | virtual |
getLastErrorDetailed(bool fsync=false, bool j=false, int w=0, int wtimeout=0) | mongo::DBClientWithCommands | virtual |
getLastErrorString(const BSONObj &res) | mongo::DBClientWithCommands | static |
getMore(const std::string &ns, long long cursorId, int nToReturn=0, int options=0) | mongo::DBClientBase | virtual |
getPrevError() | mongo::DBClientWithCommands | |
group(const StringData &ns, const StringData &jsreduce, std::vector< BSONObj > *output, const BSONObj &initial=BSONObj(), const Query &query=Query(), const BSONObj &key=BSONObj(), const StringData &finalize="") | mongo::DBClientWithCommands | |
groupWithKeyFunction(const StringData &ns, const StringData &jsreduce, std::vector< BSONObj > *output, const BSONObj &initial=BSONObj(), const Query &query=Query(), const StringData &jskey="", const StringData &finalize="") | mongo::DBClientWithCommands | |
initializeOrderedBulkOp(const std::string &ns) | mongo::DBClientBase | virtual |
initializeUnorderedBulkOp(const std::string &ns) | mongo::DBClientBase | virtual |
insert(const std::string &ns, BSONObj obj, int flags=0, const WriteConcern *wc=NULL) | mongo::DBClientBase | virtual |
insert(const std::string &ns, const std::vector< BSONObj > &v, int flags=0, const WriteConcern *wc=NULL) | mongo::DBClientBase | virtual |
isMaster(bool &isMaster, BSONObj *info=0) | mongo::DBClientWithCommands | virtual |
isNotMasterErrorString(const BSONElement &e) | mongo::DBClientWithCommands | protected |
isOk(const BSONObj &) | mongo::DBClientWithCommands | protected |
isStillConnected()=0 | mongo::DBClientBase | pure virtual |
logout(const std::string &dbname, BSONObj &info) | mongo::DBClientWithCommands | virtual |
mapreduce(const std::string &ns, const std::string &jsmapf, const std::string &jsreducef, Query query=Query(), MROutput output=MRInline) | mongo::DBClientWithCommands | |
MONGO_CLIENT_DEPRECATED("deprecated in MongoDB 3.0") bool eval(const std | mongo::DBClientWithCommands | inline |
parallelScan(const StringData &ns, int numCursors, std::vector< DBClientCursor * > *cursors, stdx::function< DBClientBase *()> connectionFactory) | mongo::DBClientBase | virtual |
PostRunCommandHookFunc typedef | mongo::DBClientWithCommands | |
ProfilingLevel enum name | mongo::DBClientWithCommands | |
query(const std::string &ns, Query query, int nToReturn=0, int nToSkip=0, const BSONObj *fieldsToReturn=0, int queryOptions=0, int batchSize=0) | mongo::DBClientBase | virtual |
query(stdx::function< void(const BSONObj &)> f, const std::string &ns, Query query, const BSONObj *fieldsToReturn=0, int queryOptions=0) | mongo::DBClientBase | virtual |
remove(const std::string &ns, Query q, bool justOne=0, const WriteConcern *wc=NULL) | mongo::DBClientBase | virtual |
repairDatabase(const std::string &dbname, BSONObj *info=0) | mongo::DBClientWithCommands | inline |
resetError() | mongo::DBClientWithCommands | inline |
runCommand(const std::string &dbname, const BSONObj &cmd, BSONObj &info, int options=0) | mongo::DBClientWithCommands | virtual |
RunCommandHookFunc typedef | mongo::DBClientWithCommands | |
save(const StringData &ns, const BSONObj &toSave, const WriteConcern *wc=NULL) | mongo::DBClientInterface | |
simpleCommand(const std::string &dbname, BSONObj *info, const std::string &command) | mongo::DBClientWithCommands | |
update(const std::string &ns, Query query, BSONObj obj, bool upsert=false, bool multi=false, const WriteConcern *wc=NULL) | mongo::DBClientBase | virtual |
validate(const std::string &ns, bool scandata=true) | mongo::DBClientWithCommands | inline |