private void updateFunction(FunctionDescription.Update rec) throws SQLException {
		try (Statement st = db.createStatement()) {
			StringBuilder buf = new StringBuilder();
			buf.append("UPDATE desctable SET ");
			boolean previous = false;
			if (rec.function_name) {
				previous = true;
				buf.append("name_func='");
				appendEscapedLiteral(buf, rec.update.getFunctionName());
				buf.append('\'');
			}
			if (rec.flags) {
				if (previous) {
					buf.append(',');
				}
				buf.append("flags=");
				buf.append(rec.update.getFlags());
			}
			buf.append(" WHERE id = ");
			buf.append(rec.update.getId().getLong());

			st.executeUpdate(buf.toString());
		}
	}
@param rec the function description update object
@throws SQLException if there is a problem creating the query statement
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/AbstractSQLFunctionDatabase.java