#include <mongocxx/v_noabi/mongocxx/options/find_one_and_delete.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]
Gets the current value of the comment option. 
- Returns
- The current comment option. 
 
 
◆ comment() [2/2]
Set the value of the comment option. 
- Parameters
- 
  
    | comment | The new comment option. |  
 
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining. 
 
 
◆ hint() [1/2]
Gets the current hint. 
- Returns
- The current hint, if one is set. 
 
 
◆ hint() [2/2]
Sets the index to use for this operation. 
- Note
- if the server already has a cached shape for this query, it may ignore a hint.
- Parameters
- 
  
    | index_hint | Object representing the index to use. |  
 
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining. 
 
 
◆ let() [1/2]
Gets the current value of the let option. 
- Returns
- The current let option. 
 
 
◆ let() [2/2]
Set the value of the let option. 
- Parameters
- 
  
  
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining. 
 
 
◆ max_time() [1/2]
The current max_time setting. 
- Returns
- the current max time (in milliseconds).
- See also
- 
 
 
◆ max_time() [2/2]
      
        
          | find_one_and_delete & mongocxx::v_noabi::options::find_one_and_delete::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 running time (in milliseconds). |  
 
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
- 
 
 
◆ projection() [1/2]
Gets the current projection set on this operation. 
- Returns
- The current projection.
- See also
- 
 
 
◆ projection() [2/2]
Sets a projection that limits the fields to return. 
- Parameters
- 
  
    | projection | The projection document. |  
 
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
- 
 
 
◆ sort() [1/2]
Gets the current sort ordering. 
- Returns
- The current sort ordering.
- See also
- 
 
 
◆ sort() [2/2]
Sets the order to search for a matching document. 
- Warning
- This can influence which document the operation modifies if the provided filter selects multiple documents.
- Parameters
- 
  
    | ordering | Document describing the order of the documents to be returned. |  
 
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
- 
 
 
◆ write_concern() [1/2]
Gets the current write concern. 
- Returns
- The current write concern.
- See also
- 
 
 
◆ write_concern() [2/2]
Sets the write concern 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: