diff options
author | James Wahlin <james.wahlin@10gen.com> | 2016-08-08 12:27:35 -0400 |
---|---|---|
committer | James Wahlin <james.wahlin@10gen.com> | 2016-08-09 19:42:33 -0400 |
commit | 875bf157f0d16b10896528026f0e2be93c466f90 (patch) | |
tree | a35097d30807bddd98e4b8c0b68894088bb42d41 /src/mongo/client/dbclient.cpp | |
parent | d930f4832631eca7092ada4328d780f2b8d19d31 (diff) | |
download | mongo-875bf157f0d16b10896528026f0e2be93c466f90.tar.gz |
SERVER-24506 Cloner support for views
Diffstat (limited to 'src/mongo/client/dbclient.cpp')
-rw-r--r-- | src/mongo/client/dbclient.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/client/dbclient.cpp b/src/mongo/client/dbclient.cpp index 92eb63a29b8..989deeffc7f 100644 --- a/src/mongo/client/dbclient.cpp +++ b/src/mongo/client/dbclient.cpp @@ -583,15 +583,6 @@ list<string> DBClientWithCommands::getDatabaseNames() { return names; } -list<string> DBClientWithCommands::getCollectionNames(const string& db) { - list<BSONObj> infos = getCollectionInfos(db); - list<string> names; - for (list<BSONObj>::iterator it = infos.begin(); it != infos.end(); ++it) { - names.push_back(db + "." + (*it)["name"].valuestr()); - } - return names; -} - list<BSONObj> DBClientWithCommands::getCollectionInfos(const string& db, const BSONObj& filter) { list<BSONObj> infos; |