mongoc_collection_t *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_GRIDFS_GET_FILES(3)
Description
Retrieves the mongoc_collection_t containing the file metadata for GridFS. This instance is owned by the
mongoc_gridfs_t and should not be modified or freed.
Parameters
• gridfs: A mongoc_gridfs_t.
Returns
Returns a mongoc_collection_t that should not be modified or freed.
Synopsis
mongoc_collection_t *
mongoc_gridfs_get_files (mongoc_gridfs_t *gridfs);
