Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-387

add mongoc_gridfs_file_remove() helper

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • TBD
    • 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);

      Attachments

        Activity

          People

            christian.hergert@10gen.com Christian Hergert
            christian.hergert@10gen.com Christian Hergert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: