1MONGOC_GRIDFS_FILE_SET_ID(3)       libmongoc      MONGOC_GRIDFS_FILE_SET_ID(3)
2
3
4

NAME

6       mongoc_gridfs_file_set_id - mongoc_gridfs_file_set_id()
7

SYNOPSIS

9          bool
10          mongoc_gridfs_file_set_id (mongoc_gridfs_file_t *file,
11                                     const bson_value_t *id,
12                                     bson_error_t error);
13

PARAMETERS

15file: A :symbol:` mongoc_gridfs_file_t <mongoc_gridfs_file_t>`.
16
17id: A bson_value_t.
18
19error: A bson_error_t.
20

DESCRIPTION

22       Sets the id of file to any BSON type.
23
24       If an error occurred, false is returned.
25

RETURNS

27       Returns  true  on  success. If any arguments are invalid, returns false
28       and logs an error.
29

AUTHOR

31       MongoDB, Inc
32
34       2017-present, MongoDB, Inc
35
36
37
38
391.17.6                           Jun 03, 2021     MONGOC_GRIDFS_FILE_SET_ID(3)
Impressum