1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: bigint support, closes #197

This commit is contained in:
2022-02-26 10:02:23 +01:00
parent ddee68b4c2
commit b7039553cc
5 changed files with 6 additions and 5 deletions

View File

@ -9,7 +9,6 @@ function pgToString (value) {
return value.toString();
}
types.setTypeParser(20, a => parseInt(a));// bigint string to number
types.setTypeParser(1082, pgToString); // date
types.setTypeParser(1083, pgToString); // time
types.setTypeParser(1114, pgToString); // timestamp