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

Add example of geoNear command's return value

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.5
    • None
    • manual
    • None

    Description

      http://docs.mongodb.org/manual/reference/command/geoNear/

      It would be helpful if we documented the expected return value of the geoNear command. Results have dis and obj fields, which contain the calculated distance and the matched document, respectively. I was unable to find any mention of dis and obj in our documentation. We only show examples of invoking the command.

      Attachments

        Activity

          People

            tim.slavin Tim Slavin
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 38 weeks, 6 days ago