[CDRIVER-3158] Update documentation for bson_iter_value Created: 28/May/19 Updated: 28/Oct/23 Resolved: 30/May/19 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | docs |
| Affects Version/s: | None |
| Fix Version/s: | 1.15.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Haris Sheikh (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
bson_iter_value returns a const bson_value_t, a type representing any BSON value, from the current field pointed to by the bson_iter_t. However, the documentation fails to state that if the bson_iter_t is further modified, the bson_value_t is invalidated. This has caught us before, let's document so we don't forget. |
| Comments |
| Comment by Githook User [ 30/May/19 ] |
|
Author: {'email': 'harissheikh@Hariss-MacBook-Pro.local', 'name': 'Haris Sheikh'}Message: |