Storage Engine API
mongo::RenameCollectionOptions Struct Reference

Renames the collection from "source" to "target" and drops the existing collection with UUID dropTargetUUID iff "dropTarget" is true. More...

#include <rename_collection.h>

Detailed Description

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
 

Member Data Documentation

◆ dropTarget

bool mongo::RenameCollectionOptions::dropTarget = false

◆ dropTargetUUID

OptionalCollectionUUID mongo::RenameCollectionOptions::dropTargetUUID

◆ stayTemp

bool mongo::RenameCollectionOptions::stayTemp = false

The documentation for this struct was generated from the following file: