[SERVER-38124] executing the expression in a field Created: 14/Nov/18 Updated: 06/Dec/22 Resolved: 15/Nov/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | naresh buruzula | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||
| Assigned Teams: |
Query
|
||||||||||||||
| Operating System: | ALL | ||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||
| Participants: | |||||||||||||||
| Description |
|
I want to use a field which has expression within it. like ftpath = "$outputs.123456.response.value.FileType" I want execute the value inside $ftpath. |
| Comments |
| Comment by naresh buruzula [ 15/Nov/18 ] |
|
db.submissions.aggregate([ } }, , "1234"]}}, // here "path" will be assigned with $outputs.1234 |
| Comment by naresh buruzula [ 15/Nov/18 ] |
|
"outputs" : {"1234" : "actual value"} I want to get the identifier (1234) of "abc" from "identifiers". |
| Comment by Danny Hatcher (Inactive) [ 15/Nov/18 ] |
|
Closing as a dupe of |
| Comment by Asya Kamsky [ 14/Nov/18 ] |
|
daniel.hatcher is this a duplicate of |