filter

fun filter(filter: Bson?): DistinctIterable<T>

Sets the query filter to apply to the query.

Return

this

Parameters

filter

the filter, which may be null.

See also