1MONGOC_GRIDFS_CREATE_FILE(3) MongoDB C Driver MONGOC_GRIDFS_CREATE_FILE(3)
2
3
4
6 mongoc_gridfs_create_file - mongoc_gridfs_create_file()
7
9 mongoc_gridfs_file_t *
10 mongoc_gridfs_create_file (mongoc_gridfs_t *gridfs,
11 mongoc_gridfs_file_opt_t *opt);
12
14 · gridfs: A mongoc_gridfs_t.
15
16 · opt: A mongoc_gridfs_file_opt_t to specify file options.
17
19 This function shall create a new mongoc_gridfs_file_t.
20
21 Use mongoc_gridfs_file_writev() to write to the file.
22
24 Returns a newly allocated mongoc_gridfs_file_t that should be freed
25 with mongoc_gridfs_file_destroy().
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.14.0 Feb 22, 2019 MONGOC_GRIDFS_CREATE_FILE(3)