Updates
This commit is contained in:
Vendored
+3
-1
@@ -28,7 +28,9 @@ export default function sqlInsertGenerator({ tableName, data, dbFullName, }) {
|
||||
: value
|
||||
? value
|
||||
: null;
|
||||
if (!finalValue) {
|
||||
if (!finalValue &&
|
||||
typeof finalValue !== "number" &&
|
||||
typeof finalValue !== "string") {
|
||||
queryValues.push(null);
|
||||
return "?";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user