Change SBE bson handling code to use value RAII types

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should implement an RAII API for sbe::bson::convertFrom() and sbe::bson::getField(). When returning a view the function should return TagValueView, and when returning an owned value it should return TagValueOwned.

      If the number of callers is overwhelming, we can keep the "raw" API available and have it wrap the safe API.

            Assignee:
            Unassigned
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: