Handle 64bit numbers correctly
Javascript doesn't support 64bit internally, so if I try in Chrome/console: x = 285870311191169181, it becomes 285870311191169180, and the same thing happens in VS Code.
The solution would be to return a NumberLong("285870311191169181") text result.
In fact, it seems to be an issue in Compass as well... but it works in mongo shell.
Check the screenshot.
1
vote
![](https://secure.gravatar.com/avatar/ed80657751d6a7dedbb5d73f054000a5?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)