fun filter(filter: Bson): CoroutineDistinctPublisher<T>
Sets the query filter to apply to the query.
filter - the filter
filter
Return this
Mongodb .driver.manual reference/method/db.collection.find/ Filter