(self)
| 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"}: |