1MONGOC_GRIDFS_FILE_SAVE(3)         libmongoc        MONGOC_GRIDFS_FILE_SAVE(3)
2
3
4

NAME

6       mongoc_gridfs_file_save - mongoc_gridfs_file_save()
7

SYNOPSIS

9          bool
10          mongoc_gridfs_file_save (mongoc_gridfs_file_t *file);
11

PARAMETERS

13file: A mongoc_gridfs_file_t.
14

DESCRIPTION

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

RETURNS

25       Returns true if successful, otherwise false.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.20.0                           Nov 18, 2021       MONGOC_GRIDFS_FILE_SAVE(3)
Impressum