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

$push w/ $sort: make $slice optional

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Write Ops
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              scotthernandez Scott Hernandez
              aheckmann Aaron Heckmann
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: