make $pull support object matching

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.3.0
    • Affects Version/s: None
    • Component/s: Write Ops
    • None
    • Minor Change
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      if you have
      { a : [

      { x : 1 }

      ,

      { x : 1 , b : 2 }

      ] }
      and do this update:
      { $pull : { a :

      { x : 1 }

      } }
      previously it would have only removed the first entry, now it will do both

      you can also do things like:
      { $pull : { a : { x :

      { $gt : 5 }

      } } }

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Eliot Horowitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: