[SERVER-27089] Extend the update subsystem to support more expressive updates to array fields Created: 17/Nov/16 Updated: 28/Apr/18 Resolved: 11/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.12 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Tess Avitabile (Inactive) |
| Resolution: | Done | Votes: | 33 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | Query 2017-08-21 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Issue Status as of Aug 11, 2017 FEATURE DESCRIPTION VERSIONS OPERATION Update all documents in array
Update all matching documents in array
Update all matching scalars in array
Update all matching documents in nested array
Update all scalars in array matching a logical predicate
Each array filter must be a predicate over a document with a single field name. Each array filter must be used in the update expression, and each array filter identifier $[<id>] must have a corresponding array filter. <id> must begin with a lowercase letter and not contain any special characters. There must not be two array filters with the same field name. IMPLEMENTATION DETAILS Original description |
| Comments |
| Comment by Tess Avitabile (Inactive) [ 11/Aug/17 ] |
|
Resolving, as all implementation is complete in 3.5.12. |
| Comment by David Storch [ 20/Dec/16 ] |
|
asya, agreed. This ticket is intended to capture all improvements related to updating array fields that we believe to be important. |
| Comment by Asya Kamsky [ 20/Dec/16 ] |
|
Suggestion to add to the list of things this project/ticket will address "Additional array manipulations" - to take care of things like $push to negative position ( |