$pop multiple elements from an array at once

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0.2
    • Component/s: Write Ops
    • None
    • Query
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Support

      { $pop : { field : -n  } }
      

      or

      { $pop : { field : n  } }
      

      where n is the number of elements to remove first or last in an array.

              Assignee:
              Backlog - Query Team (Inactive)
              Reporter:
              Michael Catanzariti
              Votes:
              14 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: