$push w/ $sort: make $slice optional

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-991 we added $push with $slice and $sort. As implemented, $slice is required. This ticket is to make it optional.

      For now, users can just specify $slice: -999999999 to get around this requirement.

              Assignee:
              Scott Hernandez (Inactive)
              Reporter:
              Aaron Heckmann (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: