Discuss / Java / w

mukuno

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

  • 1

Reply