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@10gen.com I assume that is the intended behavior, saw your tag on the commit.
- is related to
-
DOCS-2465 Comprehensive document about backward-breaking changes in v2.6
- Closed
-
SERVER-12409 db.coll.remove() should not default to db.coll.remove({})
- Closed