1MONGOC_GRIDFS_FILE_SET_METADATA(3) libmongocMONGOC_GRIDFS_FILE_SET_METADATA(3)
2
3
4

NAME

6       mongoc_gridfs_file_set_metadata - mongoc_gridfs_file_set_metadata()
7

SYNOPSIS

9          void
10          mongoc_gridfs_file_set_metadata (mongoc_gridfs_file_t *file,
11                                           const bson_t *metadata);
12

PARAMETERS

14file: A mongoc_gridfs_file_t.
15
16bson: A bson_t containing metadata for file.
17

DESCRIPTION

19       Sets the metadata associated with file.
20
21       You need to call mongoc_gridfs_file_save() to persist this change.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.20.0                           Nov 18, 2021MONGOC_GRIDFS_FILE_SET_METADATA(3)
Impressum