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);
149 pipeline& sort(bsoncxx::document::view_or_value ordering);
165 bsoncxx::document::view view() const;
170 class MONGOCXX_PRIVATE impl;
171 std::unique_ptr<impl> _impl;
174MONGOCXX_INLINE_NAMESPACE_END
177#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.