Need Function to Remove a File from a GRID File System

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 0.96.4
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

            Assignee:
            Christian Hergert (Inactive)
            Reporter:
            Frank J. Lhota
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: