All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.zeal18.zio.mongodb.driver.model.RenameCollectionOptions.scala Maven / Gradle / Ivy

package io.github.zeal18.zio.mongodb.driver.model

import com.mongodb.client.model.RenameCollectionOptions as JRenameCollectionOptions

/** The options to apply when renaming a collection.
  *
  * @mongodb.driver.manual reference/command/renameCollection renameCollection
  */
final case class RenameCollectionOptions(dropTarget: Boolean) {
  private[driver] def toJava: JRenameCollectionOptions =
    new JRenameCollectionOptions().dropTarget(dropTarget)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy