Closed RuneStone0 closed 1 year ago
Hey @RuneStone0, thanks for the post! It seems that when this data gets rendered in our browser, JS cannot handle it properly. I would suggest doing a simple $toString
mapping to your original request so that you can get the whole data in string format:
{
"$addFields": {
"valueInStr": {
"$toString": "$value"
}
}
}
If you store a number such as
1631764775259480064
in MongoDB it becomes a NumberLong object. When Openblocks query mongo the number returned will become a float and the last part of the number is zeroed out to1631764775259480000
. See screenshot for evidence. On the left: Openblocks On the right: MongoDB Compass