[DOCS-4997] Midtown is not a NYC borough in drivers getting started guide example Created: 13/Mar/15  Updated: 30/Oct/23  Resolved: 19/Mar/15

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

Type: Improvement Priority: Major - P3
Reporter: Emily Stolfo Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 8 years, 47 weeks, 6 days ago

 Description   

While translating the examples to Ruby for the drivers getting started guide, I noticed the update_many one sets a restaurant's borough to 'Midtown'. It would be more accurate to use 'neighborhood' for this field, or to use one of the 5 NYC boroughs: Queens, Manhattan, Staten Island, Brooklyn, The Bronx.

I'm not sure if this content is live somewhere in our docs, but here is the example in node

https://github.com/mongodb/docs/blob/master/primer/source/includes/examples-update-fields.yaml#L58

Presumably, all drivers will be translating this content as per this ticket
https://jira.mongodb.org/browse/WRITING-1169

so we should fix the example before it's replicated 9+ times.



 Comments   
Comment by Kay Kim (Inactive) [ 19/Mar/15 ]

updated for shell, pymongo, node, cpp, c#, java.

Comment by Githook User [ 13/Mar/15 ]

Author:

{u'username': u'mpaik', u'name': u'Michael Paik', u'email': u'michael.paik@10gen.com'}

Message: DOCS-4997
Branch: master
https://github.com/mongodb/docs/commit/43d70c64129f3cbdb263cc16ff23157ce8afb251

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