Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68360

Add helper for interpreting BSONElement value buffer

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-10-17

    Description

      It is sometimes needed to be able to parse the value component of a BSONElement memory buffer without having a pointer to the full BSONElement binary containing the type byte and field name.

      We should have an abstraction for this use-case that can be re-used so we don't have to implement custom BSON parsing code throughout the code when this use-case comes up.

      The main use-case is to be able to abstract code for BSONElement and BSONObj + type.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: