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

Update a size field with addToSet

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • None
    • None
    • Write Ops
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              backlog-server-query Backlog - Query Team (Inactive)
              rb2k Marc Seeger
              Votes:
              20 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: