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
115 pipeline& out(std::string collection_name);
144 pipeline& sample(std::int32_t size);
174 pipeline& unwind(std::string field_name);
184 class MONGOCXX_PRIVATE impl;
185 std::unique_ptr<impl> _impl;
188 MONGOCXX_INLINE_NAMESPACE_END
191 #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