public SQLBuilder Select(String... column) { builder.append("select "); if (column.length == 0) { return this; } makeList(column, true); return this; }
public SQLBuilder InsertInto(String table, String... column) { builder.append("Insert into "); builder.append(table); builder.append(" "); if (column.length > 0) { leftBra(); } makeList(column, true); return this; }
public SQLBuilder Values(Object... values) { deleteSpace(); if (builder.toString().contains("(")) { rightBra(); } builder.append(" Values "); if (values.length == 0) { System.out.println("值列表为空"); } makeList(values, false); return this; }