suspend fun drop(): <ERROR CLASS>
(source)
Drops this collection from the Database.
Mongodb
.driver.manual reference/command/drop/ Drop Collection
suspend fun drop(clientSession: ClientSession): <ERROR CLASS>
(source)
Drops this collection from the Database.
clientSession
- the client session with which to associate this operation
Mongodb
.driver.manual reference/command/drop/ Drop Collection
Mongodb
.server.release 3.6
Since
1.7