Implement MongoDB\BSON\Value class as wrapper for bson_value_t

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The MongoDB\BSON\Value class is a wrapper around a bson_value_t and is returned in all get methods in Document and PackedArray instances. While this adds an extra step for users to get actual values, it provides a better API that can be used for retaining type information (such as knowing that a number was an int64 despite being in the 32-bit range).

            Assignee:
            Andreas Braun
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: