mongoc_gridfs_bucket_abort_upload − mongoc_gridfs_bucket_abort_upload()
bool mongoc_gridfs_bucket_abort_upload (mongoc_stream_t *stream);
• |
stream: A mongoc_stream_t created by mongoc_gridfs_bucket_open_upload_stream() or mongoc_gridfs_bucket_open_upload_stream_with_id(). |
Aborts the upload of a GridFS upload stream.
True on success. False otherwise, and sets an error on stream.
SEE ALSO:
mongoc_gridfs_bucket_open_upload_stream()
mongoc_gridfs_bucket_open_upload_stream_with_id()
MongoDB, Inc
2017-present, MongoDB, Inc