Possible representations of SQLite integers in JavaScript:
"number" (default): returns SQLite integers as JavaScript number-s (double precision floats).
number cannot precisely represent integers larger than 2^53-1 in absolute value, so attempting to read
larger integers will throw a RangeError.
"bigint": returns SQLite integers as JavaScript bigint-s (arbitrary precision integers). Bigints can
precisely represent all SQLite integers.
Possible representations of SQLite integers in JavaScript:
"number"
(default): returns SQLite integers as JavaScriptnumber
-s (double precision floats).number
cannot precisely represent integers larger than 2^53-1 in absolute value, so attempting to read larger integers will throw aRangeError
."bigint"
: returns SQLite integers as JavaScriptbigint
-s (arbitrary precision integers). Bigints can precisely represent all SQLite integers."string"
: returns SQLite integers as strings.