[SERVER-4996] Add unsigned 64 bit integer as supported datatype Created: 17/Feb/12  Updated: 05/May/17  Resolved: 05/May/17

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: 2.1.0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Massimiliano della Rovere Assignee: Unassigned
Resolution: Done Votes: 21
Labels: bson
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all


Issue Links:
Related
is related to SERVER-1393 Support decimal numbers Closed
Participants:

 Description   

This ticket tracks adding support for 64-bit unsigned numbers.

Arbitrary precision number support is tracked in SERVER-1393.

Original description:
Mongo doesn't support two useful (at least in my project) datatypes:

  • unsigned 64 bit integer
  • arbitrary precision (long) number

We need to search this fields with $gt, $lt etc, so a binary type is not a solution



 Comments   
Comment by Ian Whalen (Inactive) [ 05/May/17 ]

We believe that the addition of the decimal data type in 3.4.0 has subsumed this request.

Comment by Shane R. Spencer [ 28/Mar/12 ]

It would be great to have 64 bit math support. I'm currently using BinData for some 64 bit numbers as well as 0 padded strings in some cases in order to deal with $gt/$lt for large numbers.. but being able to add or divide, especially without a direct method to type cast and then perform different operations, would be valuable.

Generated at Thu Feb 08 03:07:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.