154 bsoncxx::v_noabi::types::bson_value::view
id,
155 bsoncxx::v_noabi::stdx::string_view filename,
159 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::document::view_or_value> metadata = {});
167 impl
const& _get_impl()
const;
169 std::unique_ptr<impl> _impl;
Supports MongoDB client session operations.
Definition client_session.hpp:50
A MongoDB collection.
Definition collection.hpp:87
A GridFS bucket.
Definition bucket.hpp:66
Used to upload a GridFS file.
Definition uploader.hpp:43
void abort()
Aborts uploading the file.
std::int32_t chunk_size() const
Gets the chunk size of the file being uploaded.
void write(std::uint8_t const *bytes, std::size_t length)
Writes a specified number of bytes to a GridFS file.
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 export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi 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.
Provides mongocxx::v_noabi::result::gridfs::upload.
Provides bsoncxx::v_noabi::types::bson_value::view.
Declares utilities to upload GridFS files.
Provides std::optional-related polyfills for library API usage.
Provides std::string_view-related polyfills for library API usage.
Provides bsoncxx::v_noabi::view_or_value.