169#include <mongocxx/config/postlude.hpp>
A polyfill for std::optional<T>.
Definition optional.hpp:800
Used by mongocxx::v_noabi::gridfs::bucket.
Definition bucket.hpp:37
bucket & read_preference(mongocxx::v_noabi::read_preference read_preference)
Sets the read preference to be used when reading from the GridFS bucket. Defaults to the read prefere...
bucket & write_concern(mongocxx::v_noabi::write_concern write_concern)
Sets the write concern to be used when writing to the GridFS bucket. Defaults to the write concern of...
bucket & read_concern(mongocxx::v_noabi::read_concern read_concern)
Sets the read concern to be used when reading from the bucket. Defaults to the read concern of the da...
bucket & chunk_size_bytes(std::int32_t chunk_size_bytes)
Sets the size of the chunks in the bucket. This will be used as the chunk size for files uploaded thr...
bucket & bucket_name(std::string bucket_name)
Sets the name of the bucket. Defaults to 'fs'.
#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 specific to GridFS.
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.
Declares mongocxx::v_noabi::options::gridfs::bucket.
Provides mongocxx::v_noabi::read_concern.
Provides mongocxx::v_noabi::read_preference.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::write_concern.