[DOCS-10009] Comment on: "manual/reference/method/Bulk.find.updateOne.txt" Created: 17/Mar/17 Updated: 30/Oct/23 Resolved: 17/Mar/17 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: https://docs.mongodb.com/manual/reference/method/Bulk.find.updateOne/ |
||
| Issue Links: |
|
||||||||||||
| Participants: | |||||||||||||
| Days since reply: | 6 years, 47 weeks, 5 days ago | ||||||||||||
| Description |
|
This page has a section on replacing a document. Perhaps that was left over from the 'update' command (before it become 'updateOne')? |
| Comments |
| Comment by Githook User [ 17/Mar/17 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Kay Kim (Inactive) [ 17/Mar/17 ] |
|
Will remove. Always happy to remove content |
| Comment by David Golden [ 17/Mar/17 ] |
|
I filed I'd be happy to see this mis-feature removed from docs to avoid misleading people, but it's your call if you want to leave it alone instead. |
| Comment by Kay Kim (Inactive) [ 17/Mar/17 ] |
|
Seems the converse of |
| Comment by David Golden [ 17/Mar/17 ] |
|
Ugh. That's a shell "bug", then. It should behave like 'db.foo.updateOne' and require a $ key. |