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);
94 pipeline& lookup(bsoncxx::document::view_or_value lookup);
104 pipeline& match(bsoncxx::document::view_or_value filter);
124 pipeline& project(bsoncxx::document::view_or_value projection);
134 pipeline& redact(bsoncxx::document::view_or_value restrictions);
163 pipeline& sort(bsoncxx::document::view_or_value ordering);
179 bsoncxx::document::view view() const;
184 class MONGOCXX_PRIVATE impl;
185 std::unique_ptr<impl> _impl;
188MONGOCXX_INLINE_NAMESPACE_END
191#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.