[SERVER-2242] We would love to have an 64 bits UNSIGNED integer too. Created: 17/Dec/10  Updated: 29/Jan/18  Resolved: 26/May/17

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

Type: Improvement Priority: Major - P3
Reporter: Richard Lopes Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Any 64 bits OS


Issue Links:
Related
is related to SERVER-2413 Native types for IP Address and MAC A... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We need to store 64 bits unsigned integers into MongoDB for big values and be able to do range filtering and sorting on columns using this type.
One of our use case is storing IPv6 numbers.

Concerning IPv6, a IPv6 datatype (128 bits integer for example) would be very nice when IPv6 becomes unavoidable.

Thanks.



 Comments   
Comment by Mira Carey [ 26/May/17 ]

While it's not specifically a 64 bit unsigned type, the new decimal floating point support added in 3.4 fully covers the range available to 64 unsigned integers.

Comment by Eliot Horowitz (Inactive) [ 17/Dec/10 ]

You can use a binary type right now which gives you range scans

Generated at Thu Feb 08 02:59:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.