#include <string>
#include "mongo/base/status.h"
#include "mongo/bson/bsonobj.h"
Go to the source code of this file.
|
| mongo |
| Copyright (C) 2014 MongoDB Inc.
|
|
|
Status | mongo::createCollection (OperationContext *opCtx, const std::string &dbName, const BSONObj &cmdObj, const BSONObj &idIndex=BSONObj()) |
| Creates a collection as described in "cmdObj" on the database "dbName". More...
|
|
Status | mongo::createCollectionForApplyOps (OperationContext *opCtx, const std::string &dbName, const BSONElement &ui, const BSONObj &cmdObj, const BSONObj &idIndex=BSONObj()) |
| As above, but only used by replication to apply operations. More...
|
|