Package net.bnubot.bot.database

Examples of net.bnubot.bot.database.AccountResultSet.updateRow()


                AccountResultSet rsAccount = d.getAccount(answerUser);
                if(rsAccount.next()) {
                  long score = rsAccount.getTriviaCorrect();
                  score++;
                  rsAccount.setTriviaCorrect(score);
                  rsAccount.updateRow();
                  extra += " Your score is " + score + ".";
                }
                d.close(rsAccount);
              }
            } catch(Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.