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

14       · file: A mongoc_gridfs_file_t.
15
16       · bson: 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.16.2                           Feb 25, 2020MONGOC_GRIDFS_FILE_SET_METADATA(3)
Impressum