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

Move enforcement of non-negative and positive integer constraints to the grammar

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      For pipeline stages like $skip or $limit that take a numeric argument, there is a restriction that the argument is non-negative. This is currently done after parsing to the CST, but ideally should be enforced in the grammar rule itself.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: