MCPcopy Index your code
hub / github.com/geekcomputers/Python / all_money

Method all_money

bank_managment_system/backend.py:140–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138
139 # ----------------- Stats -----------------
140 def all_money(self):
141 self.cur.execute("SELECT SUM(balance) FROM bank")
142 total = self.cur.fetchone()[0]
143 return total if total else 0
144
145 # ----------------- Cleanup -----------------
146 def close(self):

Callers 2

Total_moneyFunction · 0.80
show_total_moneyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected