[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: |
|
||||||||||||
| 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: |
| 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: |
| Comment by Daniel Pasette (Inactive) [ 03/Mar/14 ] |
|
That is correct. |