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

SYNOPSIS

6          bool
7          mongoc_gridfs_file_set_id (mongoc_gridfs_file_t *file,
8                                     const bson_value_t *id,
9                                     bson_error_t error);
10

PARAMETERS

12file: A :symbol:` mongoc_gridfs_file_t <mongoc_gridfs_file_t>`.
13
14id: A bson_value_t.
15
16error: A bson_error_t.
17

DESCRIPTION

19       Sets the id of file to any BSON type.
20
21       If an error occurred, false is returned.
22

RETURNS

24       Returns  true  on  success. If any arguments are invalid, returns false
25       and logs an error.
26

AUTHOR

28       MongoDB, Inc
29
31       2017-present, MongoDB, Inc
32
33
34
35
361.25.1                           Nov 08, 2023     MONGOC_GRIDFS_FILE_SET_ID(3)
Impressum