max

fun max(max: Bson?): FindIterable<T>

Sets the exclusive upper bound for a specific index. A null value means no max is set.

Return

this

Parameters

max

the max