Update a size field with addToSet

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • None
    • Query
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As mentioned over here: http://groups.google.com/group/mongodb-user/browse_thread/thread/9c4e2a157cc8e0c9

      It would be nice to have the ability to update a size field when doing a pushToSet (especially in connection with more than one element and $each). One can't simply use $inc since there is no information how many elements were actually pushed

              Assignee:
              Backlog - Query Team (Inactive)
              Reporter:
              Marc Seeger
              Votes:
              20 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: