[DOCS-10134] Comment on: "manual/reference/method/db.collection.findAndModify.txt" Created: 18/Apr/17  Updated: 27/Oct/23  Resolved: 18/Apr/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Works as Designed 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/db.collection.findAndModify/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36
Referrer: https://www.google.se/
Screen Resolution: 1368 x 768


Participants:
Days since reply: 6 years, 43 weeks, 1 day ago

 Description   

Specify MORE CLEARLY that this is deprecated and that one should use findOneAndUpdate, findOneAndReplace or findOneAndDelete instead

Should be in FAT BOLD RED TEXT at the top. Should be UNMISSABLE.



 Comments   
Comment by Ravind Kumar (Inactive) [ 18/Apr/17 ]

Thank you for filing a DOCS ticket.

While `findAndModify` is deprecated for MongoDB drivers, it has not been deprecated in the MongoDB server itself.

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