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

Dropping a collection that doesn't exist shouldn't throw an exception

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.1
    • 1.0
    • None
    • None

    Description

      MongoDatabase.DropCollection and MongoCollection.Drop shouldn't throw an exception if the collection doesn't exist. They could return a bool to indiciate whether the collection existed or not.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: