21#include <bsoncxx/document/view.hpp>
22#include <bsoncxx/document/view_or_value.hpp>
24#include <mongocxx/config/prelude.hpp>
27MONGOCXX_INLINE_NAMESPACE_BEGIN
71 pipeline& group(bsoncxx::document::view_or_value group);
90 pipeline& match(bsoncxx::document::view_or_value filter);
110 pipeline& project(bsoncxx::document::view_or_value projection);
120 pipeline& redact(bsoncxx::document::view_or_value restrictions);
139 pipeline& sort(bsoncxx::document::view_or_value ordering);
155 bsoncxx::document::view view() const;
160 class MONGOCXX_PRIVATE impl;
161 std::unique_ptr<impl> _impl;
164MONGOCXX_INLINE_NAMESPACE_END
167#include <mongocxx/config/postlude.hpp>
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:74
Class representing a MongoDB aggregation pipeline.
Definition pipeline.hpp:34
pipeline(pipeline &&) noexcept
Move constructs a pipeline.
pipeline()
Creates a new aggregation pipeline.