fun <reified TResult : Any> listCollections(): CoroutineListCollectionsPublisher<TResult>
(source)
Finds all the collections in this database.
clazz
- the class to decode each document into
Parameters
Return
the fluent list collections interface
Mongodb
.driver.manual reference/command/listCollections listCollections
fun <reified TResult : Any> listCollections(clientSession: ClientSession): CoroutineListCollectionsPublisher<TResult>
(source)
Finds all the collections in this database.
Parameters
Return
the fluent list collections interface
Mongodb
.driver.manual reference/command/listCollections listCollections