[DOCS-10666] Docs for SERVER-30046: Add support for $expr constant expressions to ComparisonMatchExpression Created: 10/Aug/17  Updated: 27/Oct/23  Resolved: 21/Sep/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.12

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-30046 Add support for $expr constant expres... Closed
Participants:
Days since reply: 6 years, 21 weeks ago
Epic Link: DOCS: 3.6 Server

 Description   

Documentation Request Summary:

The provides the first step towards allowing $expr in the match language. This ticket now allows in $match for 'let' variable referencing and constant expression evaluation.



 Comments   
Comment by Kay Kim (Inactive) [ 21/Sep/17 ]

I believe

{$match: {_id: {$eq: {$expr: "$$var1"}}}},

is now changed to
{ $match: { $expr:

{ $eq: [ ... ] }

} }

Generated at Thu Feb 08 08:01:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.