DOKK / manpages / debian 11 / libmongoc-doc / mongoc_gridfs_file_get_metadata.3.en
MONGOC_GRIDFS_FILE_GET_METADATA(3) libmongoc MONGOC_GRIDFS_FILE_GET_METADATA(3)

mongoc_gridfs_file_get_metadata - mongoc_gridfs_file_get_metadata()

const bson_t *
mongoc_gridfs_file_get_metadata (mongoc_gridfs_file_t *file);


file: A mongoc_gridfs_file_t.

Fetches a bson document containing the metadata for the gridfs file.

Returns a bson_t that should not be modified or freed.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6