max property

Map<String, Object>? max
final

The exclusive upper bound for a specific index. See cursor.max() for details. Starting in MongoDB 4.2, to use the max field, the command must also use hint unless the specified filter is an equality condition on the _id field { _id:

Implementation

final Map<String, Object>? max;