Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-632

Add As* methods to bsoncore.Value, bson.RawValue, and bson.Val types

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Numeric BSON value types can be difficult to deal with. Depending on the source, a number might be a float64, int32, int64, or decimal128. To ease the usability of the Value types, add As*  and As*OK methods to each value type for float64, int32, and int64.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: