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

$move operator for moving a value somewhere else in the same document

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • None
    • Query

      Three cases:

      • Move and overwrite: say moving property 'a.b.c' to 'x.y.z'
      • Multiple move, last overwrite: say moving property a to b, property b to c, property c to d overwriting d
      • Move to insert in array: say moving property x to 'a.3', shifting up all current elements from 3 onward. If the value being moved to is from an array, shift down that array.

      Currently all of these cases can require potentially large amounts of data to be passed back and forth, when the server really has all that information already.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            fresheneesz Billy Tetrud
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: