Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2206

Implement MongoDB\BSON\Value class as wrapper for bson_value_t

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Andreas Braun
            Reporter:
            andreas.braun@mongodb.com Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: