-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Goals
Get information on the maximum value of a field with type 'int'.
Expected Results
That https://realm.io/docs/javascript/2.0.4/api/Realm.html#~PropertyType would note the maximal value that I can store and retrieve from a field of type 'int'.
Generally the maximal and minimal values of an int in a Realm is 2^63-1 and -(2^63) respectively, but as these are represented as Number in a JavaScript environment, the maximal safe integer value is actually way smaller: Number.MAX_SAFE_INTEGER = 9007199254740991 and Number.MIN_SAFE_INTEGER = -9007199254740991.
Actual Results
It's not mentioned.
Version of Realm and Tooling
- Realm JS SDK Version: 2.0.4
- Node or React Native: N/A
- Client OS & Version: N/A
- Which debugger for React Native: N/A