fun <T : Any> MongoCollection<T>.find(filter: String): FindPublisher<T>
(source)
Finds all documents that match the filter in the collection.
Return
the find iterable interface
fun <T : Any> MongoCollection<T>.find(clientSession: ClientSession, filter: String): FindPublisher<T>
(source)
Finds all documents that match the filter in the collection.
clientSession
- the client session
Return
the find iterable interface
fun <T : Any> MongoCollection<T>.find(vararg filters: Bson?): FindPublisher<T>
(source)
Finds all documents that match the filters in the collection.
Return
the find iterable interface
fun <T : Any> MongoCollection<T>.find(clientSession: ClientSession, vararg filters: Bson?): FindPublisher<T>
(source)
Finds all documents that match the filters in the collection.
clientSession
- the client session
Return
the find iterable interface