Exemple #1
0
 def addIncome(self, amt):
     return db.hincrby(self.dbid, "inc", amt)
Exemple #2
0
 def addCash(self, amt):
     return db.hincrby(self.dbid, "cash", amt)