mongoc_gridfs_file_save - Man Page
mongoc_gridfs_file_save()
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
2017-present, MongoDB, Inc
Info
Aug 17, 2023 1.24.3 libmongoc