1MONGOC_GRIDFS_FILE_SET_CONTENT_TMYoPnEg(o3D)B CMDOrNiGvOeCr_GRIDFS_FILE_SET_CONTENT_TYPE(3)
2
3
4

NAME

6       mongoc_gridfs_file_set_content_type    -    mongoc_gridfs_file_set_con‐
7       tent_type()
8

SYNOPSIS

10          void
11          mongoc_gridfs_file_set_content_type (mongoc_gridfs_file_t *file,
12                                               const char *content_type);
13

PARAMETERS

15       · file: A mongoc_gridfs_file_t.
16
17       · str: A string containing the content type.
18

DESCRIPTION

20       Sets the content type for the gridfs file.  This  should  be  something
21       like "text/plain".
22
23       You need to call mongoc_gridfs_file_save() to persist this change.
24

AUTHOR

26       MongoDB, Inc
27
29       2017-present, MongoDB, Inc
30
31
32
33
341.14.0                           Feb 22,M2O0N1G9OC_GRIDFS_FILE_SET_CONTENT_TYPE(3)
Impressum