kmongo / org.litote.kmongo.reactor / com.mongodb.reactor.client.ReactorMongoDatabase / dropCollection

dropCollection

fun <reified T : Any> ReactorMongoDatabase.dropCollection(): Mono<Void> (source)
fun ReactorMongoDatabase.dropCollection(collectionName: String): Mono<Void> (source)

Drops this collection from the Database.

Mongodb
.driver.manual reference/command/drop/ Drop Collection