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

Method check_acc_no

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

Source from the content-addressed store, hash-verified

87 return acc_no
88
89 def check_acc_no(self, acc_no):
90 self.cur.execute("SELECT 1 FROM bank WHERE acc_no=?", (acc_no,))
91 return self.cur.fetchone() is not None
92
93 def get_details(self, acc_no):
94 self.cur.execute("SELECT * FROM bank WHERE acc_no=?", (acc_no,))

Callers 3

search_in_databaseFunction · 0.80
on_search_submitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected