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

NAME

6       mongoc_gridfs_file_get_id - mongoc_gridfs_file_get_id()
7

SYNOPSIS

9          const bson_value_t *
10          mongoc_gridfs_file_get_id (mongoc_gridfs_file_t *file);
11

PARAMETERS

13file: A mongoc_gridfs_file_t.
14

DESCRIPTION

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

RETURNS

22       Returns a bson_value_t that should not be modified or freed.
23

AUTHOR

25       MongoDB, Inc
26
28       2017-present, MongoDB, Inc
29
30
31
32
331.20.0                           Nov 18, 2021     MONGOC_GRIDFS_FILE_GET_ID(3)
Impressum