1MONGOC_GRIDFS_FILE_GET_ID(3) libmongoc MONGOC_GRIDFS_FILE_GET_ID(3)
2
3
4
6 mongoc_gridfs_file_get_id - mongoc_gridfs_file_get_id()
7
9 const bson_value_t *
10 mongoc_gridfs_file_get_id (mongoc_gridfs_file_t *file);
11
13 • file: A mongoc_gridfs_file_t.
14
16 Fetches the id of a gridfs file.
17
18 The C Driver always uses an ObjectId for _id, but files created by
19 other drivers may have any type of _id.
20
22 Returns a bson_value_t that should not be modified or freed.
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.24.3 Aug 17, 2023 MONGOC_GRIDFS_FILE_GET_ID(3)