[CDRIVER-945] mongoc_collection_find_and_modify_with_opts () builder Created: 19/Oct/15 Updated: 27/May/16 Resolved: 18/Nov/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0-beta0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Cotter | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Epic Link: | MongoDB 3.2 | ||||||||||||||||||||||||||||||||
| Description |
|
We need a way to be able to extend the mongoc_collection_find_and_modify () helper for new options, for example bypassDocumentValidation.
Note that setting write_concern is not supported through the builder.
|
| Comments |
| Comment by Githook User [ 18/Nov/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: For consistency with all other helpers, the write concern should be set |
| Comment by Hannes Magnusson [ 16/Nov/15 ] |
Note the "MAY". There is no need for mongoc to create a full new infrastructure to be able to handle per-operation WriteConcern. |
| Comment by Githook User [ 11/Nov/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 11/Nov/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 11/Nov/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 11/Nov/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 11/Nov/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |