154 bsoncxx::v_noabi::types::bson_value::view
id,
155 stdx::string_view filename,
159 stdx::optional<
bsoncxx::v_noabi::document::view_or_value> metadata = {});
167 const impl& _get_impl()
const;
169 std::unique_ptr<impl> _impl;
177#if defined(MONGOCXX_TEST_MACRO_GUARDS_FIX_MISSING_POSTLUDE)
Use a session for a sequence of operations, optionally with either causal consistency or snapshots.
Definition client_session.hpp:48
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:87
Class representing a GridFS bucket.
Definition bucket.hpp:67
Class used to upload a GridFS file.
Definition uploader.hpp:44
void abort()
Aborts uploading the file.
void write(const std::uint8_t *bytes, std::size_t length)
Writes a specified number of bytes to a GridFS file.
std::int32_t chunk_size() const
Gets the chunk size of the file being uploaded.
result::gridfs::upload close()
Closes the uploader stream.
Provides mongocxx::v_noabi::client_session.
Provides mongocxx::v_noabi::collection.
Provides bsoncxx::v_noabi::document::value.
Declares mongocxx::v_noabi::gridfs::bucket.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
The mongocxx macro guard postlude header.
The mongocxx macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Provides mongocxx::v_noabi::result::gridfs::upload.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides std::string_view-related polyfills for library API usage.
Provides bsoncxx::v_noabi::types::bson_value::view.
Declares utilities to upload GridFS files.
Provides bsoncxx::v_noabi::view_or_value.