There is a table that stores the values of username
and money
. How to insert into it values that are updated with the following class .
The bottom line is that if the username and amount are not in the table, then the values are not recorded, and then they do not change accordingly. How to fix it?
You can get the user you want to add to the table with the acc.getName () function