Support {$skip:0}

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.1.0
    • Component/s: Aggregation Framework
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

              Assignee:
              Chris Westin (Inactive)
              Reporter:
              Brandon Hudgeons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: