39 upload(upload&& other)
noexcept =
default;
40 upload& operator=(upload&& other)
noexcept =
default;
42 upload(upload
const& other) : _id_owner{other._id_owner}, _id{_id_owner} {}
44 upload& operator=(upload
const& other) {
46 _id_owner = other._id_owner;
78 return lhs._id == rhs._id;
81 friend bool operator!=(upload
const& lhs, upload
const& rhs) {
A non-owning variant that can contain any BSON type.
Definition view.hpp:62
The result of a GridFS upload operation.
Definition upload.hpp:35
upload(bsoncxx::v_noabi::types::bson_value::view id)
Definition upload.hpp:56
operator v1::gridfs::upload_result() const
Convert to the mongocxx::v1 equivalent.
bsoncxx::v_noabi::types::view const & id() const
Gets the id of the uploaded GridFS file.
Definition upload.hpp:73
#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.
v_noabi::types::bson_value::view view
Equivalent to bsoncxx::v_noabi::types::bson_value::view.
Definition view-fwd.hpp:35
bson_value::value value
Equivalent to bsoncxx::v_noabi::types::bson_value::value.
Definition value-fwd.hpp:35
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is guaranteed for documented symbols.
Declares entities representing the result of GridFS commands.
Declares entities representing the result of various commands.
Declares entities whose ABI stability is NOT guaranteed.
bool operator==(std::string str, hint const &hint)
Convenience methods to compare against an index name.
Definition hint.hpp:138
bool operator!=(hint const &hint, std::string str)
Convenience methods to compare against an index name.
Definition hint.hpp:143
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::result::gridfs::upload.
Provides mongocxx::v1::gridfs::upload_result.
Provides bsoncxx::v_noabi::array::value.
Equivalent to bsoncxx/types/bson_value/value.hpp.
Equivalent to bsoncxx/types/bson_value/view.hpp.