Recent NodeJS versions support BigInt primitives which are a perfect fit for MySQL's BIGINT data type.
I realize that merely returning BigInt primitives by default would be breaking for a lot of users and libraries, so perhaps there should be an option to use it if available in the current NodeJS version, defaulting to false, i.e. don't use it, even if supported.
Recent NodeJS versions support BigInt primitives which are a perfect fit for MySQL's BIGINT data type.
I realize that merely returning BigInt primitives by default would be breaking for a lot of users and libraries, so perhaps there should be an option to use it if available in the current NodeJS version, defaulting to
false
, i.e. don't use it, even if supported.