Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3158

Update documentation for bson_iter_value

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.15.0
    • docs

    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.

      Attachments

        Issue Links

          Activity

            People

              haris.sheikh@mongodb.com Haris Sheikh (Inactive)
              kevin.albertson@mongodb.com Kevin Albertson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: