[SERVER-54080] Disallow both include/exclude fields from being specified at the same time Created: 27/Jan/21  Updated: 29/Oct/23  Resolved: 29/Jan/21

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Eric Cox (Inactive) Assignee: Eric Cox (Inactive)
Resolution: Fixed Votes: 0
Labels: qexec-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2021-02-08
Participants:

 Description   

Add a uassert to the parser to disallow specifying both include/exclude lists. It's one or the other.



 Comments   
Comment by Githook User [ 29/Jan/21 ]

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: SERVER-54080 Disallow both include/exclude fields from being specified at the same time
Branch: master
https://github.com/mongodb/mongo/commit/f7ec26ffa7bfb8ac82ac106cad664ea1cc53ddae

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