suspend fun listCollectionNames(): List<String>
(source)
Gets the names of all the collections in this database.
Return
a list with all the names of all the collections in this database
suspend fun listCollectionNames(clientSession: ClientSession): List<String>
(source)
Gets the names of all the collections in this database.
clientSession
- the client session with which to associate this operation
Return
a publisher with all the names of all the collections in this database
Mongodb
.server.release 3.6
Since
1.7