mongoc_gridfs_file_save(3)

mongoc_gridfs_file_save3

Usage

bool
mongoc_gridfs_file_save (mongoc_gridfs_file_t *file);

Parameters

•

file: A mongoc_gridfs_file_t.

Overview

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.