[CDRIVER-2205] Array Update Improvements Created: 10/Jul/17 Updated: 28/Oct/23 Resolved: 12/Oct/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Epic Link: | Cdriver MongoDB 3.6 Support | ||||||||||||||||||||||||||||
| Comments |
| Comment by A. Jesse Jiryu Davis [ 12/Oct/17 ] |
|
Splendid. |
| Comment by Kevin Albertson [ 12/Oct/17 ] |
|
The new mongoc_collection_update_one_with_opts and mongoc_collection_update_many_with_opts functions support arrayFilters through the opts parameter. |
| Comment by Githook User [ 11/Oct/17 ] |
|
Author: {'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}Message: |
| Comment by Githook User [ 10/Oct/17 ] |
|
Author: {'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}Message: |
| Comment by Githook User [ 05/Oct/17 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: |
| Comment by Githook User [ 05/Oct/17 ] |
|
Author: {'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}Message: |
| Comment by Githook User [ 03/Oct/17 ] |
|
Author: {'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson', 'username': 'kevinAlbs'}Message: |
| Comment by Kevin Albertson [ 27/Sep/17 ] |
|
It looks like we already support the arrayFilters parameter on find_and_modify and the bulk update operations. mongoc_collection_find_and_modify_with_opts mongoc_bulk_operation_update_one_with_opts mongoc_collection_update |