list Databases
Gets the list of databases
Return
the list databases iterable interface
abstract fun listDatabases(clientSession: ClientSession): ListDatabasesFlow<Document>
Content copied to clipboard
Gets the list of databases
Return
the list databases iterable interface
Since
3.6
Parameters
client Session
the client session with which to associate this operation
abstract fun <TResult : Any> listDatabases(resultClass: KClass<out TResult>): ListDatabasesFlow<TResult>
Content copied to clipboard
Gets the list of databases
Return
the list databases iterable interface
Parameters
result Class
the class to cast the database documents to
abstract fun <TResult : Any> listDatabases(clientSession: ClientSession, resultClass: KClass<out TResult>): ListDatabasesFlow<TResult>
Content copied to clipboard
Gets the list of databases
Return
the list databases iterable interface
Since
3.6
Parameters
client Session
the client session with which to associate this operation
result Class
the class to cast the database documents to