Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
None
Description
It would be nice to have a helper to make it easier to remove a particular gridfs file. This should remove the gridfs file and any chunks associated with it.
Something like:
if (!mongoc_gridfs_file_remove (file, &error)) {
|
fprintf (stderr, "%s\n", error.message);
|
}
|
mongoc_gridfs_destroy (file);
|