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

$push w/ $sort: make $slice optional

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Write Ops
    • Labels:
      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

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: