Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1935

How to delete chunk files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Works as Designed
    • Affects Version/s: 2.4.2
    • Fix Version/s: None
    • Component/s: API, Documentation
    • Labels:
    • Environment:
      OS : Windows 7
      .Net : 4.6.1

      Description

      In Mongocsharp driver, there was an option to delete documents in "fs.chunks" collection using gridfs object.
      But, in MongoDB Driver 2.4.2, how can we delete documents from only "fs.chunks"?

      Is it okay to delete documents in "fs.chunks" without using GridFS bucket object, ie, by using

      Database.GetCollection<GridFSFileInfo>(fs.chunks);
      

      Thanks in advance,
      Irshad

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: