DistinctQuery
Observable for distinct
- Type parameters:
- TResult
The type of the result.
- Value parameters:
- wrapped
the underlying java DistinctQuery
Value members
Concrete methods
Sets the number of documents to return per batch.
Sets the number of documents to return per batch.
- Value parameters:
- batchSize
the batch size
- Returns:
this
Sets the collation options
Sets the collation options
- Value parameters:
- collation
the collation options to use
- Returns:
this
- Note:
A null value represents the server default.
Requires MongoDB 3.4 or greater
Sets the comment for this operation. A null value means no comment is set.
Sets the comment for this operation. A null value means no comment is set.
- Value parameters:
- comment
the comment
- Returns:
this
- Note:
Requires MongoDB 4.4 or greater
Sets the comment for this operation. A null value means no comment is set.
Sets the comment for this operation. A null value means no comment is set.
- Value parameters:
- comment
the comment
- Returns:
this
- Note:
Requires MongoDB 4.4 or greater
Sets the query filter to apply to the query.
Sets the query filter to apply to the query.
- Value parameters:
- filter
the filter, which may be null.
- Returns:
this
Helper to return a single observable limited to the first result.
Helper to return a single observable limited to the first result.
- Returns:
a single observable which will the first result.