-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: BSON
-
None
-
Minor Change
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.
- is depended on by
-
RUBY-1980 Ensure cursor IDs are always encoded as 64-bit integers in BSON for getMore
- Closed
- links to