读取 MySQL 数据库字段值,超过16位后用0替代,有什么方式能读取正确的值?
bigNumberStrings: Enabling both supportBigNumbers and bigNumberStrings forces big numbers (BIGINT and DECIMAL columns) to be always returned as JavaScript String objects (Default: false).
bigNumberStrings
supportBigNumbers
false
我想应该设置这个参数就可以了,返回的是一个对象。
@zouzhenxing 非常感谢,的确设置了就可以了
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
bigNumberStrings: Enabling bothsupportBigNumbersandbigNumberStringsforces big numbers (BIGINT and DECIMAL columns) to be always returned as JavaScript String objects (Default:false).我想应该设置这个参数就可以了,返回的是一个对象。
@zouzhenxing 非常感谢,的确设置了就可以了