Class representing the optional arguments to a view creation operation.
More...
#include <create_view.hpp>
Class representing the optional arguments to a view creation operation.
- See also
- https://docs.mongodb.com/master/core/views/
◆ collation() [1/2]
◆ collation() [2/2]
Sets the default collation for this view.
- Parameters
-
collation | The default collation for the view. |
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
- See also
- https://docs.mongodb.com/master/reference/collation/
◆ operator bsoncxx::document::value()
- Deprecated:
- This method is deprecated. To determine which options are set on this object, use the provided accessors instead.
◆ pipeline() [1/2]
const stdx::optional< class pipeline > & mongocxx::options::create_view::pipeline |
( |
| ) |
const |
Gets the pipeline that will be used to compute this view.
- Returns
- Pipeline that will be used to compute the view.
◆ pipeline() [2/2]
Sets the pipeline that will be used to compute this view.
- Parameters
-
pipeline | Pipeline that will be used to compute the view. |
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
◆ to_document()
Return a bson document representing the options set on this object.
- Deprecated:
- This method is deprecated. To determine which options are set on this object, use the provided accessors instead.
- Returns
- Options, as a document.
◆ write_concern() [1/2]
Gets the write concern that will be used when computing this view.
- Returns
- Write concern that will be used when computing the view.
◆ write_concern() [2/2]
Sets the write concern that will be used when computing this view.
- Parameters
-
write_concern | Write concern that will be used when computing the view. |
- Returns
- A reference to the object on which this member function is being called. This facilitates method chaining.
The documentation for this class was generated from the following file: