This commit is contained in:
2026-01-09 13:02:54 +01:00
parent a915be704b
commit 1c20286c8c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ function updateDbEntry(_a) {
let query = `UPDATE ${isMaster && !dbFullName ? "" : `\`${dbFullName}\`.`}\`${tableName}\` SET ${updateKeyValueArray.join(",")}`;
if (targetIds) {
query += ` WHERE id IN (${targetIds.map((id) => "?").join(",")})`;
updateValues = targetIds;
updateValues.push(...targetIds);
}
else if (whereClauseObject) {
query += ` ${whereClauseObject.clause}`;