Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jepiqueau committed Dec 21, 2023
2 parents a2a9164 + 9ec86d9 commit ec65391
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,11 @@ private JSONObject generateInsertAndDeletedStrings(ArrayList<String> tColNames,
insertValues.append("(").append(formattedRow).append("), ");
}
} else if ((int) rowIndex.get(colIndex) == 1) {
deletedIds.append(rowIndex.get(0)).append(", ");
if (rowIndex.get(0) instanceof String) {
deletedIds.append("'").append(rowIndex.get(0)).append("', ");
} else {
deletedIds.append(rowIndex.get(0)).append(", ");
}
}
}

Expand Down

0 comments on commit ec65391

Please sign in to comment.