Updates
This commit is contained in:
@@ -146,7 +146,7 @@ export default async function updateDbEntry<
|
||||
|
||||
if (targetIds) {
|
||||
query += ` WHERE id IN (${targetIds.map((id) => "?").join(",")})`;
|
||||
updateValues = targetIds;
|
||||
updateValues.push(...targetIds);
|
||||
} else if (whereClauseObject) {
|
||||
query += ` ${whereClauseObject.clause}`;
|
||||
updateValues.push(...(whereClauseObject.params || []));
|
||||
|
||||
Reference in New Issue
Block a user