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

Method get_detail

bank_managment_system/backend.py:97–99  ·  view source on GitHub ↗
(self, acc_no)

Source from the content-addressed store, hash-verified

95 return self.cur.fetchone()
96
97 def get_detail(self, acc_no):
98 self.cur.execute("SELECT name, balance FROM bank WHERE acc_no=?", (acc_no,))
99 return self.cur.fetchone()
100
101 def update_customer(self, field, new_value, acc_no):
102 if field not in {"name", "age", "address", "mobile_number", "account_type"}:

Callers 1

search_in_databaseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected