[SERVER-48890] allow $addFields with empty document and have it be a no-op Created: 16/Jun/20 Updated: 29/Oct/23 Resolved: 11/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0, 4.0.25, 4.2.15, 4.4.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Asya Kamsky | Assignee: | Betty Shen (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, qopt-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v4.4, v4.2, v4.0
|
||||||||||||||||
| Sprint: | Query 2020-10-19, Query 2020-11-02, Query 2020-11-16 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
For programatic populating of $addFields (in update pipeline for instance) it would help if (becoming consistent with |
| Comments |
| Comment by Githook User [ 02/Jun/21 ] |
|
Author: {'name': 'caiyingshen', 'email': 'caiying.shen526@gmail.com', 'username': 'caiyingshen'}Message: (cherry picked from commit b9b781778f3ccaab0b0fab72efadab55b49f8705) |
| Comment by Githook User [ 02/Jun/21 ] |
|
Author: {'name': 'caiyingshen', 'email': 'caiying.shen526@gmail.com', 'username': 'caiyingshen'}Message: (cherry picked from commit b9b781778f3ccaab0b0fab72efadab55b49f8705) |
| Comment by Githook User [ 27/May/21 ] |
|
Author: {'name': 'caiyingshen', 'email': 'caiying.shen526@gmail.com', 'username': 'caiyingshen'}Message: (cherry picked from commit b9b781778f3ccaab0b0fab72efadab55b49f8705) |
| Comment by Githook User [ 06/Nov/20 ] |
|
Author: {'name': 'caiyingshen', 'email': 'caiying.shen526@gmail.com', 'username': 'caiyingshen'}Message: |