fun <reified T : Any> findAndCast(filter: Bson = EMPTY_BSON): CoroutineFindPublisher<T>
(source)
Finds all documents in the collection.
Parameters
Mongodb
.driver.manual tutorial/query-documents/ Find
fun <reified T : Any> findAndCast(clientSession: ClientSession, filter: Bson): CoroutineFindPublisher<T>
(source)
Finds all documents in the collection.
clientSession
- the client session with which to associate this operation
Parameters
Mongodb
.driver.manual tutorial/query-documents/ Find
Mongodb
.server.release 3.6
Since
1.7