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