Support BSON::Vector data type

XMLWordPrintableJSON

    • None
    • Ruby Drivers
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      Declaring a field with type: BSON::Vector now stores the value as a BSON
      binary of the vector subtype and reads it back as a BSON::Vector,
      preserving dtype and padding.

      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      Yes

      3. Which versions of the driver/connector does this apply to?
      9.2.0

      Show
      1. What would you like to communicate to the user about this feature? Declaring a field with type: BSON::Vector now stores the value as a BSON binary of the vector subtype and reads it back as a BSON::Vector, preserving dtype and padding. 2. Would you like the user to see examples of the syntax and/or executable code and its output? Yes 3. Which versions of the driver/connector does this apply to? 9.2.0
    • None
    • None
    • None
    • None
    • None
    • None

      This came up in a request in the #ruby slack channel. We should take a look and make sure that setting a field to be of type BSON::Vector will save the field as that bson type. Having a few tests in place would allow us to document this and say we officially support it.

            Assignee:
            Dmitry Rybakov
            Reporter:
            Jamis Buck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: