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

Method create_employee

bank_managment_system/backend.py:52–56  ·  view source on GitHub ↗
(self, name, password, salary, position)

Source from the content-addressed store, hash-verified

50
51 # ----------------- Staff -----------------
52 def create_employee(self, name, password, salary, position):
53 self.cur.execute(
54 "INSERT INTO staff VALUES (?, ?, ?, ?)", (name, password, salary, position)
55 )
56 self.conn.commit()
57
58 def check_employee(self, name, password):
59 self.cur.execute(

Callers 2

create_emp_in_databaseFunction · 0.80
add_employee_form_submitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected