1MONGOC_GRIDFS_FILE_GET_ID(3)       libmongoc      MONGOC_GRIDFS_FILE_GET_ID(3)
2
3
4

SYNOPSIS

6          const bson_value_t *
7          mongoc_gridfs_file_get_id (mongoc_gridfs_file_t *file);
8

PARAMETERS

10file: A mongoc_gridfs_file_t.
11

DESCRIPTION

13       Fetches the id of a gridfs file.
14
15       The  C  Driver  always  uses  an ObjectId for _id, but files created by
16       other drivers may have any type of _id.
17

RETURNS

19       Returns a bson_value_t that should not be modified or freed.
20

AUTHOR

22       MongoDB, Inc
23
25       2017-present, MongoDB, Inc
26
27
28
29
301.25.1                           Nov 08, 2023     MONGOC_GRIDFS_FILE_GET_ID(3)
Impressum