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

Syntax error for $center example

    XMLWordPrintableJSON

Details

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

    Description

      http://docs.mongodb.org/manual/reference/operator/center/

      Doc says

      db.collection.find( { location: { $within: { $center: [ [0,0], 10 } } } );

      there is a closing square bracket missing after the 10.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 15 weeks ago