MCPcopy Create free account
hub / github.com/geekcomputers/Python / show_employees

Method show_employees

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

Source from the content-addressed store, hash-verified

62 return self.cur.fetchone() is not None
63
64 def show_employees(self):
65 self.cur.execute("SELECT name, salary, position FROM staff")
66 return self.cur.fetchall()
67
68 def update_employee(self, field, new_value, name):
69 if field not in {"name", "pass", "salary", "position"}:

Callers 1

show_employeeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected