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

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

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • BSON
    • 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?

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: