[SERVER-49849] Move enforcement of non-negative and positive integer constraints to the grammar Created: 23/Jul/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Optimization
Participants:

 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.


Generated at Thu Feb 08 05:21:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.