MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / get_db_connection

Function get_db_connection

Crud_in_flask/main.py:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7
8def get_db_connection():
9 conn = sqlite3.connect('database.db')
10 conn.row_factory = sqlite3.Row
11 return conn
12
13
14def get_products(products_id):

Callers 5

get_productsFunction · 0.85
createFunction · 0.85
editFunction · 0.85
deleteFunction · 0.85
indexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected