21 #include <bsoncxx/array/view.hpp>
22 #include <bsoncxx/document/view.hpp>
23 #include <bsoncxx/document/view_or_value.hpp>
25 #include <mongocxx/config/prelude.hpp>
28 MONGOCXX_INLINE_NAMESPACE_BEGIN
183 pipeline& limit(std::int32_t limit);
218 pipeline& out(std::string collection_name);
261 pipeline& sample(std::int32_t size);
272 pipeline& skip(std::int32_t docs_to_skip);
313 pipeline& sort_by_count(std::string field_expression);
345 pipeline& unwind(std::string field_name);
362 class MONGOCXX_PRIVATE impl;
363 std::unique_ptr<impl> _impl;
366 MONGOCXX_INLINE_NAMESPACE_END
369 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Class representing a MongoDB aggregation pipeline.
Definition: pipeline.hpp:35
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:74