Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17846

Non-update/non-delete user operations should fail with error if $isolated included in query predicate

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Minor Change
    • Query 2017-10-02, Query 2017-10-23, Query 2017-11-13

      $isolated is a "query operator" that has special meaning in the context of an update/delete, and is ignored in other contexts. Operations that attempt to use $isolated in such other contexts should fail with an error (such as find({$isolated: 1})).

      Eventually, the $isolated operator should be taken out of the predicate language entirely, and replaced with an option to the update/delete commands.

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: