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

Apr 17, 2026 2.3.0 libmongoc