Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2835

remove() without query no longer allowed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: mongodb-2.6
    • Fix Version/s: v1.3.2
    • Component/s: manual
    • Labels:
    • # Replies:
      3
    • Last comment by Customer:
      true
    • Actual Time:
      4

      Description

      On http://docs.mongodb.org/master/tutorial/remove-documents/ 2.6 version it says that remove() removes all documents from a collection.

      This was changed recently, shell/collection.js line 218 so calling remove() without a query is not allowed. Dan Pasette I assume that is the intended behavior, saw your tag on the commit.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  5 years, 50 weeks, 5 days ago
                  Date of 1st Reply: