#include <mongocxx/v_noabi/mongocxx/options/distinct.hpp>
◆ collation() [1/2]
Retrieves the current collation for this operation.
- Returns
- The current collation.
- See also
-
◆ collation() [2/2]
Sets the collation for this operation.
- Parameters
-
collation | The new collation. |
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
-
◆ comment() [1/2]
The current comment for this operation.
- Returns
- The current comment
- See also
-
◆ comment() [2/2]
Sets the comment for this operation.
- Parameters
-
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
-
◆ max_time() [1/2]
The current max_time setting.
- Returns
- The current max time (in milliseconds).
- See also
-
◆ max_time() [2/2]
distinct & mongocxx::v_noabi::options::distinct::max_time |
( |
std::chrono::milliseconds | max_time | ) |
|
Sets the maximum amount of time for this operation to run (server-side) in milliseconds.
- Parameters
-
max_time | The max amount of time (in milliseconds). |
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
-
◆ read_preference() [1/2]
◆ read_preference() [2/2]
Sets the read_preference for this operation.
- Parameters
-
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
-
The documentation for this class was generated from the following file: