mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
fix(db): supportBigNumbers
BIGINT columns will lose precision at a certain length. This connection flag will typecast to a string in those situations. Resolves #121.
This commit is contained in:
1 parent
bccd6a1035
commit
a76ce68e9c
1 file changed
+1
@@ -55,6 +55,7 @@ setTimeout(() => {
|
||||
pool = createPool({
|
||||
connectTimeout: 60000,
|
||||
trace: false,
|
||||
supportBigNumbers: true,
|
||||
...connectionOptions,
|
||||
typeCast,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user