@@ -0,0 +1,1721 @@
+package me.mrten.mysqlapi.queries;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.LinkedHashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Apublic class UpdateQuery %7B%0A%0A    private String table;%0A    private LinkedHashMap%3CString, String%3E values = new LinkedHashMap%3CString, String%3E();%0A    private List%3CString%3E wheres = new ArrayList%3CString%3E();%0A%0A    public UpdateQuery(String table) %7B%0A        this.table = table;%0A    %7D%0A%0A    public UpdateQuery set(String column, String value) %7B%0A        values.put(column, value);%0A        return this;%0A    %7D%0A%0A    public UpdateQuery set(String column) %7B%0A        set(column, %22?%22);%0A        return this;%0A    %7D%0A%0A    public UpdateQuery where(String expression) %7B%0A        wheres.add(expression);%0A        return this;%0A    %7D%0A%0A    public UpdateQuery and(String expression) %7B%0A        where(expression);%0A        return this;%0A    %7D%0A%0A    public String build() %7B%0A        StringBuilder builder = new StringBuilder();%0A        builder.append(%22UPDATE %22)%0A                .append(table)%0A                .append(%22 SET %22);%0A%0A        String seperator = %22%22;%0A        for (Map.Entry%3CString, String%3E entry : values.entrySet()) %7B%0A            String column = entry.getKey();%0A            String value = entry.getValue();%0A            builder.append(seperator)%0A                    .append(column)%0A                    .append(%22=%22)%0A                    .append(value);%0A            seperator = %22,%22;%0A        %7D%0A%0A        if (wheres.size() %3E 0) %7B%0A            builder.append(%22 WHERE %22);%0A            String and = %22%22;%0A            for (String where : wheres) %7B%0A                builder.append(and)%0A                        .append(where);%0A                and = %22 AND %22;%0A            %7D%0A        %7D%0A%0A        return builder.toString();%0A    %7D%0A%0A%7D%0A

Add UPDATE query builder