344 void append(
bsoncxx::
v_noabi::builder::basic::document& builder) const;
350 bsoncxx::
v_noabi::stdx::optional<std::chrono::milliseconds> _max_time;
352 bsoncxx::
v_noabi::stdx::optional<
bool> _bypass_document_validation;
363#include <mongocxx/config/postlude.hpp>
Declares mongocxx::v_noabi::options::aggregate.
Provides bsoncxx::v_noabi::builder::basic::document.
A polyfill for std::optional<T>.
Definition optional.hpp:800
A MongoDB collection.
Definition collection.hpp:87
A MongoDB database.
Definition database.hpp:46
Used by MongoDB aggregation operations.
Definition aggregate.hpp:43
aggregate & let(bsoncxx::v_noabi::document::view_or_value let)
Sets the variable mapping for this operation.
aggregate & bypass_document_validation(bool bypass_document_validation)
Sets whether the $out stage should bypass document validation.
bsoncxx::v_noabi::stdx::optional< bool > const & allow_disk_use() const
Retrieves the current allow_disk_use setting.
aggregate & max_time(std::chrono::milliseconds max_time)
Sets the maximum amount of time for this operation to run server-side in milliseconds.
aggregate & batch_size(std::int32_t batch_size)
Sets the number of documents to return per batch.
aggregate & hint(mongocxx::v_noabi::hint index_hint)
Sets the index to use for this operation.
aggregate & comment(bsoncxx::v_noabi::types::bson_value::view_or_value comment)
Sets the comment to use for this operation.
aggregate & collation(bsoncxx::v_noabi::document::view_or_value collation)
Sets the collation for this operation.
aggregate & read_preference(mongocxx::v_noabi::read_preference rp)
Sets the read_preference for this operation.
aggregate & write_concern(mongocxx::v_noabi::write_concern write_concern)
Sets the write concern to use for this operation. Only has an effect if $out is a part of the pipelin...
aggregate & allow_disk_use(bool allow_disk_use)
Enables writing to temporary files. When set to true, aggregation stages can write data to the _tmp s...
aggregate & read_concern(mongocxx::v_noabi::read_concern read_concern)
Sets the read concern to use for this operation.
Declares mongocxx::v_noabi::collection.
Declares mongocxx::v_noabi::database.
Provides bsoncxx::v_noabi::document::view_or_value.
Provides mongocxx::v_noabi::hint.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::read_concern.
Provides mongocxx::v_noabi::read_preference.
Provides bsoncxx::v_noabi::types::bson_value::view_or_value.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::write_concern.