node:sqlite
: When not using the BigInt mode, INTEGER values are overzealously wrapped
#28187
Labels
node:sqlite
: When not using the BigInt mode, INTEGER values are overzealously wrapped
#28187
Version: Deno 2.2.0
The documentation for
node:sqlite
says:...which is fair enough. But when NOT using the BigInt mode, things seem to be breaking down far too soon, e.g. in:
...the second number is wrong. But it should work because the correct answer is a lot less than
Number.MAX_SAFE_INTEGER
.(I noticed this in real-world code that multiplies the Unix Timestamp by 1000 so that it's in milliseconds instead of seconds)
The text was updated successfully, but these errors were encountered: