suspend fun listDatabaseNames(): List<String>
(source)
Get a list of the database names
Mongodb
.driver.manual reference/commands/listDatabases List Databases
Return
an iterable containing all the names of all the databases
suspend fun listDatabaseNames(clientSession: ClientSession): List<String>
(source)
Get a list of the database names
clientSession
- the client session with which to associate this operation
Mongodb
.driver.manual reference/commands/listDatabases List Databases
Return
an iterable containing all the names of all the databases
Mongodb
.server.release 3.6
Since
1.7