![]() |
Storage Engine API
|
Renames the collection from "source" to "target" and drops the existing collection with UUID dropTargetUUID iff "dropTarget" is true. More...
#include <rename_collection.h>
Renames the collection from "source" to "target" and drops the existing collection with UUID dropTargetUUID iff "dropTarget" is true.
"stayTemp" indicates whether a collection should maintain its temporariness.
Public Attributes | |
bool | dropTarget = false |
OptionalCollectionUUID | dropTargetUUID |
bool | stayTemp = false |
bool mongo::RenameCollectionOptions::dropTarget = false |
OptionalCollectionUUID mongo::RenameCollectionOptions::dropTargetUUID |
bool mongo::RenameCollectionOptions::stayTemp = false |