Expose int32 and int64 values

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • bson-4.6.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      Currently bson-ruby Int32 and Int64 instances provide no way of getting the integer value that they are storing. This makes it impossible to, in particular, compare whether an cursor id stored in an Int64 instance is equal to an Integer.

      The proposal in this ticket is to add a `value` accessor for retrieving the stored integer value.

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: