fix: update query quotes

This commit is contained in:
Johannes Kantz 2023-02-04 18:29:26 +01:00
parent 9d3e035a20
commit 7534df3263

View File

@ -482,12 +482,12 @@ public class Database {
sb.append(" SET ");
sb.append(header[1]);
sb.append(" = ");
sb.append(values[1]);
sb.append("'" + values[1] + "'");
for(int i = 2; i < header.length; i++){
sb.append(", ");
sb.append(header[i]);
sb.append(" = ");
sb.append(values[i]);
sb.append("'" + values[i] + "'");
}
sb.append(" WHERE ");
sb.append(header[0]);