Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

bool

Author

       MongoDB, Inc

Description

       Aborts the upload of a GridFS upload stream.

Parameters

       • stream:     A     mongoc_stream_t     created     by    mongoc_gridfs_bucket_open_upload_stream()    or
         mongoc_gridfs_bucket_open_upload_stream_with_id().

Returns

       True on success. False otherwise, and sets an error on stream.

       SEEALSO:mongoc_gridfs_bucket_open_upload_stream()mongoc_gridfs_bucket_open_upload_stream_with_id()

Synopsis

          bool
          mongoc_gridfs_bucket_abort_upload (mongoc_stream_t *stream);

See Also