Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4997

Midtown is not a NYC borough in drivers getting started guide example

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    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.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            emily.stolfo Emily Stolfo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 47 weeks, 6 days ago