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

Support {$skip:0}

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Aggregation Framework
    • Labels:
      None

      Description

      Including

      {"$skip":0}

      in your pipeline yields

      { "errmsg" : "exception: assertion src/mongo/db/pipeline/document_source_skip.cpp:95" , "code" : 0 , "ok" : 0.0}

      . It should have no effect (skip nothing).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: