Scroll to navigation

MONGOC_GRIDFS_GET_FILES(3) libmongoc MONGOC_GRIDFS_GET_FILES(3)

SYNOPSIS

mongoc_collection_t *
mongoc_gridfs_get_files (mongoc_gridfs_t *gridfs);


PARAMETERS

gridfs: A mongoc_gridfs_t <>.

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.

RETURNS

Returns a mongoc_collection_t <> that should not be modified or freed.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1