Provided by: libmongoc-doc_2.2.1-1_all bug

SYNOPSIS

          bool
          mongoc_gridfs_file_save (mongoc_gridfs_file_t *file);

PARAMETERS

file: A mongoc_gridfs_file_t <>.

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.

RETURNS

       Returns true if successful, otherwise false.

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025                        MONGOC_GRIDFS_FILE_SAVE(3)