mongoc_gridfs_file_get_metadata()¶
Synopsis¶
const bson_t *
mongoc_gridfs_file_get_metadata (mongoc_gridfs_file_t *file);
Parameters¶
file
: A mongoc_gridfs_file_t.
Description¶
Fetches a bson document containing the metadata for the gridfs file.
Returns¶
Returns a bson_t
that should not be modified or freed.