SYNOPSIS

void
mongoc_gridfs_destroy (mongoc_gridfs_t *gridfs);

DESCRIPTION

The mongoc_gridfs_destroy() function shall destroy the gridfs referenced by the gridfs argument and any resources associated with the gridfs.

RETURN VALUE

The mongoc_gridfs_destroy() function has no return value.

ERRORS

No errors are defined.

LIFECYCLE

Any mongoc_gridfs_file(7)s or mongoc_gridfs_file_list(7)s need to be destroyed before reclaiming the parent gridfs object. It is a programming error to do anything besides destroy() these objects if the parent is gone.

SEE ALSO

AUTHORS

This page was written by MongoDB Inc.