[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/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Referrer: https://jira.mongodb.org/browse/FREE-124614
Screen Resolution: 2048 x 1152


Issue Links:
Related
is related to SERVER-13092 shell bulk API replaceOne behaves lik... Closed
is related to SERVER-28383 Shell bulk.updateOne allows replacement Closed
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: DOCS-10009 Bulk.find.updateOne
Branch: master
https://github.com/mongodb/docs/commit/4e2b7d7276b4f466aa76d6164026c37effb0235f

Comment by Kay Kim (Inactive) [ 17/Mar/17 ]

Will remove. Always happy to remove content

Comment by David Golden [ 17/Mar/17 ]

I filed SERVER-28383.

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 SERVER-13092

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.

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