fun <reified T : Any> MongoDatabase.dropCollection(): Completable
(source)fun MongoDatabase.dropCollection(collectionName: String): Completable
(source)
Drops this collection from the Database.
Mongodb
.driver.manual reference/command/drop/ Drop Collection