#include "mongo/base/status.h"
#include "mongo/bson/bsonelement.h"
#include "mongo/bson/bsonobj.h"
#include "mongo/db/catalog/collection_options.h"
#include "mongo/util/uuid.h"
Go to the source code of this file.
|
Status | mongo::renameCollection (OperationContext *opCtx, const NamespaceString &source, const NamespaceString &target, const RenameCollectionOptions &options) |
|
Status | mongo::renameCollectionForApplyOps (OperationContext *opCtx, const std::string &dbName, const BSONElement &ui, const BSONObj &cmd, const repl::OpTime &renameOpTime) |
| As above, but may only be called from applyCommand_inlock. More...
|
|
Status | mongo::renameCollectionForRollback (OperationContext *opCtx, const NamespaceString &target, const UUID &uuid) |
| Same as renameCollection(), but used for rolling back renameCollection operations only. More...
|
|