Bugfix: zero number values return null

This commit is contained in:
2026-08-14 11:02:49 +01:00
parent e8f630ae98
commit d4097a5e5d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export default function sqlInsertGenerator({ tableName, data, dbFullName, }) {
: value
? value
: null;
if (!finalValue) {
if (!finalValue && typeof value !== "number") {
queryValues.push(null);
return "?";
}