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