[SERVER-29101] how to use $elemMatch with $in operator in the match section of an update command Created: 06/May/17 Updated: 12/May/17 Resolved: 12/May/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 3.4.2 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | vikram pawar | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
how to use $elemMatch with $in operator in the match section of an update command....for reference check out the below command: , { "participant" : 4, "admin" : false, "deleted_at" : null, "added_after" : null, "exited" : false, "removed" : false }, { "participant" : 8, "admin" : false, "deleted_at" : null, "added_after" : null, "exited" : false, "removed" : false }, { "participant" : 5, "admin" : false, "deleted_at" : null, "added_after" : null, "exited" : false, "removed" : false }] |
| Comments |
| Comment by Kelsey Schubert [ 12/May/17 ] |
|
Hi vikrampawar92, Thanks for describing your use case. The functionality that you're looking for is tracked in Kind regards, |