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

Bad example [0..2] , not [-1,3]

    XMLWordPrintableJSON

Details

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

    Description

      At http://docs.mongodb.org/manual/reference/operators/ the example before logical operators I THINK is (0,2) ("open interval")

      ... MORE simple { field: {$gtE: 0, $ltE: 2 } } AND
      the results will be:

      { field : [0..2] }

      (NOT [0,2], because in this context is only 2 value, 0 and 2)

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            tglx2011 Tglx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 3 weeks, 2 days ago