Discuss / Java / 交作业

交作业

Topic source

summer_T1

#1 Created at ... [Delete] [Delete and Lock User]
static String buildInsertSql(String table, String[] fields) {
    return "INSERT INTO " + table + " (" + String.join(", ", fields) + ") VALUES (?, ?, ?)";
}

  • 1

Reply