21 #include <bsoncxx/document/view.hpp>
22 #include <bsoncxx/document/view_or_value.hpp>
24 #include <mongocxx/config/prelude.hpp>
27 MONGOCXX_INLINE_NAMESPACE_BEGIN
101 pipeline& out(std::string collection_name);
130 pipeline& sample(std::int32_t size);
160 pipeline& unwind(std::string field_name);
170 class MONGOCXX_PRIVATE impl;
171 std::unique_ptr<impl> _impl;
174 MONGOCXX_INLINE_NAMESPACE_END
177 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Class representing a MongoDB aggregation pipeline.
Definition: pipeline.hpp:34
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:74