[SERVER-43580] Consider allowing expressions in exclusion projections Created: 23/Sep/19  Updated: 06/Dec/22

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

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

Assigned Teams:
Query Execution
Participants:

 Description   

As part of PM-684, most (all?) all of the infrastructure for supporting expressions in exclusion projections will be done.

 

We should consider changing the projection language to allow exclusion projections with expressions. For example:

 

db.c.aggregate([{$project: {a: 0, b: 0, c: {$add: [1, 2]}}}]); 

 



 Comments   
Comment by Ian Boros [ 31/Oct/19 ]

Removing from the epic and flagging for re-triage per discussion with Dave.

Comment by Asya Kamsky [ 23/Sep/19 ]

I have a stronger opinion on SERVER-391 which I've decided we should address somehow (not sure how) - this is not that different...

Comment by Ian Boros [ 23/Sep/19 ]

asya Do you have a strong opinion on this?

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