1MONGOC_GRIDFS_FILE_SET_METADATA(3) libmongocMONGOC_GRIDFS_FILE_SET_METADATA(3)
2
3
4
6 void
7 mongoc_gridfs_file_set_metadata (mongoc_gridfs_file_t *file,
8 const bson_t *metadata);
9
11 • file: A mongoc_gridfs_file_t.
12
13 • bson: A bson_t containing metadata for file.
14
16 Sets the metadata associated with file.
17
18 You need to call mongoc_gridfs_file_save() to persist this change.
19
21 MongoDB, Inc
22
24 2017-present, MongoDB, Inc
25
26
27
28
291.25.1 Nov 08, 2023MONGOC_GRIDFS_FILE_SET_METADATA(3)