Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3064

As a developer, I need to quickly clear out all documents in a collection

    • Type: Icon: New Feature New Feature
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Compass, CRUD
    • Labels:
      None

      Users are reporting the need to quickly delete all documents in a collection using Compass.

      The standard workaround of dropping the collection and recreating it has a number of drawbacks for non-trivial collections.

      • must recreate indexes
      • must handle any existing views on the underlying collection
      • must recreate any document validation

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: