add mongoc_gridfs_file_remove() helper

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • TBD
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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);
      

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

              Created:
              Updated:
              Resolved: