-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 0.96.4
-
Component/s: None
-
Labels:None
In the 0.8x C Driver, one could remove all files with a given file name from a GRID file system using the function gridfs_remove_filename(). AFAICT the 0.9x C Driver does not provide any function for removing a file from a GRID file system. The only way to remove such a file with the 0.9x driver is to call mongoc_collection_remove() to remove the entry for the file from the "files" collection and each chunk for this file in the "chunks" collection.
The need to remove a file from a file system is almost as important as the ability to add a file. The C Driver should have a function for doing this.