kmongo / org.litote.kmongo.coroutine / CoroutineClient / listDatabases

listDatabases

suspend fun <reified TResult> listDatabases(): List<TResult> (source)

Gets the list of databases

Parameters

Return
the fluent list databases interface

suspend fun <reified TResult> listDatabases(clientSession: ClientSession): List<TResult> (source)

Gets the list of databases

Parameters

clientSession - the client session with which to associate this operation

Parameters

Return
the fluent list databases interface

Mongodb
.server.release 3.6

Since
1.7