[DOCS-2835] remove() without query no longer allowed Created: 03/Mar/14  Updated: 07/Mar/14  Resolved: 03/Mar/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.6
Fix Version/s: v1.3.2

Type: Bug Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DOCS-2465 Comprehensive document about backward... Closed
is related to SERVER-12409 db.coll.remove() should not default t... Closed
Participants:
Days since reply: 9 years, 49 weeks, 5 days ago

 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@10gen.com I assume that is the intended behavior, saw your tag on the commit.



 Comments   
Comment by Githook User [ 07/Mar/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2835 fix remove examples with no parameters - must have query doc
Branch: master
https://github.com/mongodb/docs/commit/2898fef3d02c27b7ca50953a954f96b41c8e1f57

Comment by Githook User [ 03/Mar/14 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-2835 update remove method signature - requires query doc
Branch: master
https://github.com/mongodb/docs/commit/e410b8137b46ca53b9d37cd76e15cc168be158b9

Comment by Daniel Pasette (Inactive) [ 03/Mar/14 ]

That is correct. SERVER-12409 is marked as documentation needed. Best to have an explicit ticket.

Generated at Thu Feb 08 07:44:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.