[SERVER-9106] Include/Exclude Projection Syntax Created: 24/Mar/13 Updated: 06/Dec/22 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | features we're not sure of |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Sergey Smirnov | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | projection, query | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
Hello! I have a proposition for impovements in MongoDB. I want to tell about Currently syntax of query with projection is like: Why don't change the syntax to I'll try to give you examples that you could understand what I mean: db.things.find( { x : 4 } , {include:[_id, j]} ) In such syntax we can use _id field as a usual field, an it is not |
| Comments |
| Comment by Sergey Smirnov [ 03/Oct/13 ] |
|
The formatting of the description was slightly corrupted somewhy. |
| Comment by Sergey Smirnov [ 24/Mar/13 ] |
|
By the way it is better to add new syntax instead of changing old one. |