Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major - P3 Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.3
    • Component/s: Querying
    • Labels:
      None
    • # Replies:
      12
    • Last comment by Customer:
      false

      Description

      maybe: { $or : [

      { x : 5 }

      ,

      { a : 3 }

      ] }

        Issue Links

          Activity

          Hide
          Aaron Staple (Inactive)
          added a comment -

          what's desired behavior for the $ operator?

          Show
          Aaron Staple (Inactive)
          added a comment - what's desired behavior for the $ operator?
          Hide
          Eliot Horowitz
          added a comment -

          did you mean to have something after the $ or am i missing something

          Show
          Eliot Horowitz
          added a comment - did you mean to have something after the $ or am i missing something
          Hide
          Aaron Staple (Inactive)
          added a comment -

          so if somebody does an update and they want to use the $ operator to represent the modified field - which of the $or clauses should we use to get the array match from? What if there's an array match in a non or portion of the query?

          Show
          Aaron Staple (Inactive)
          added a comment - so if somebody does an update and they want to use the $ operator to represent the modified field - which of the $or clauses should we use to get the array match from? What if there's an array match in a non or portion of the query?
          Hide
          Eliot Horowitz
          added a comment -

          ah, i see
          i think we have to disallow it
          unless we do some very smart logic about ensuring its the same path

          Show
          Eliot Horowitz
          added a comment - ah, i see i think we have to disallow it unless we do some very smart logic about ensuring its the same path
          Hide
          auto
          added a comment -

          Author:

          {'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

          Message: SERVER-205 cleaner test
          http://github.com/mongodb/mongo/commit/41d65a81f9e0b04e80ee435c81d909c7c4b6fe98

          Show
          auto
          added a comment - Author: {'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'} Message: SERVER-205 cleaner test http://github.com/mongodb/mongo/commit/41d65a81f9e0b04e80ee435c81d909c7c4b6fe98

            People

            • Votes:
              44 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                4 years, 1 week, 3 days ago
                Date of 1st Reply: