1MONGOC_GRIDFS_FILE_SAVE(3) libmongoc MONGOC_GRIDFS_FILE_SAVE(3)
2
3
4
6 bool
7 mongoc_gridfs_file_save (mongoc_gridfs_file_t *file);
8
10 • file: A mongoc_gridfs_file_t.
11
13 Saves modifications to file to the MongoDB server.
14
15 If an error occurred, false is returned and the error can be retrieved
16 with mongoc_gridfs_file_error().
17
18 Modifying GridFS files is NOT thread-safe. Only one thread or process
19 can access a GridFS file while it is being modified.
20
22 Returns true if successful, otherwise false.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.25.1 Nov 08, 2023 MONGOC_GRIDFS_FILE_SAVE(3)