读取 MySQL 数据库字段值,超过16位后用0替代,有什么方式能读取正确的值?
回复 (2)
Z
bigNumberStrings: Enabling both supportBigNumbers and bigNumberStrings forces big numbers
(BIGINT and DECIMAL columns) to be always returned as JavaScript String objects (Default: false).
我想应该设置这个参数就可以了,返回的是一个对象。
L
参与回复
登录后即可参与回复。登录