mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 06:28:53 +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({
|
pool = createPool({
|
||||||
connectTimeout: 60000,
|
connectTimeout: 60000,
|
||||||
trace: false,
|
trace: false,
|
||||||
|
supportBigNumbers: true,
|
||||||
...connectionOptions,
|
...connectionOptions,
|
||||||
typeCast,
|
typeCast,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user