MCPcopy Create free account
hub / github.com/Apress/python-for-matlab-development / remove_pets

Function remove_pets

code/IO/postgres_crud.py:77–80  ·  view source on GitHub ↗
(cursor, pet)

Source from the content-addressed store, hash-verified

75 print(f'Did: {update_cmd}')
76
77def remove_pets(cursor, pet):
78 delete_cmd = f"delete from myvalues where pet='{pet}'"
79 cursor.execute(delete_cmd)
80 print(f'Did: {delete_cmd}')
81
82def main():
83 try:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected