[SERVER-29962] Add a method in the MatchExpressionParser for checking whether an operator is top-level Created: 03/Jul/17  Updated: 30/Oct/23  Resolved: 06/Sep/17

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

Type: Improvement Priority: Major - P3
Reporter: David Storch Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2017-07-31, Query 2017-08-21, Query 2017-09-11
Participants:

 Description   

This should prevent us from having to update the $elemMatch parser as we add new top-level expressions:

https://github.com/mongodb/mongo/blob/e4ee6ba2f69d402bb682decd53f635146cc3fafb/src/mongo/db/matcher/expression_parser.cpp#L704-L707



 Comments   
Comment by Githook User [ 06/Sep/17 ]

Author:

{'username': 'tessavitabile', 'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com'}

Message: SERVER-29962 Add a method in the MatchExpressionParser for checking whether an operator is top-level
Branch: master
https://github.com/mongodb/mongo/commit/587ff8cc4a1f5c72ce8bdda07a5ba5d3d79855d9

Generated at Thu Feb 08 04:22:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.