RenameCollectionOptions (driver-core 5.5.0 API) (original) (raw)


public class RenameCollectionOptions extends Object

The options to apply when renaming a collection.

Since:

3.0

MongoDB documentation

renameCollection

Constructors

[dropTarget](#dropTarget%28boolean%29)(boolean dropTarget)
Sets if mongod should drop the target of renameCollection prior to renaming the collection.
boolean
Gets if mongod should drop the target of renameCollection prior to renaming the collection.
[toString](#toString%28%29)()