typo + bigint converted to numbers

This commit is contained in:
SPRINX0\prochazka
2025-04-24 11:02:44 +02:00
parent de071b37eb
commit a566fb3988
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ const driver = {
return { return {
version, version,
versionText: `DuchDB ${version}`, versionText: `DuckDB ${version}`,
}; };
}, },

View File

@@ -21,7 +21,7 @@ function _normalizeValue(value) {
} }
if (typeof value === 'bigint') { if (typeof value === 'bigint') {
return `${value}n`; return parseInt(value);
} }
if (Array.isArray(value)) { if (Array.isArray(value)) {