logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       MongoDB, Inc

Description

       Saves modifications to file to the MongoDB server.

       If an error occurred, false is returned and the error can be retrieved with mongoc_gridfs_file_error().

       Modifying  GridFS  files is NOT thread-safe. Only one thread or process can access a GridFS file while it
       is being modified.

Parameters

file: A mongoc_gridfs_file_t.

Returns

       Returns true if successful, otherwise false.

Synopsis

          bool
          mongoc_gridfs_file_save (mongoc_gridfs_file_t *file);

See Also