mongoc_gridfs_file_get_metadata - Man Page

Synopsis

const bson_t *
mongoc_gridfs_file_get_metadata (mongoc_gridfs_file_t *file);

Parameters

Description

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

Returns

Returns a bson_t <https://www.mongoc.org/libbson/current/bson_t.html> that should not be modified or freed.

Author

MongoDB, Inc

Info

Jan 27, 2026 1.30.6 libmongoc