Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
def
get_db_connection():
9
conn = sqlite3.connect(
'database.db'
)
10
conn.row_factory = sqlite3.Row
11
return
conn
12
13
14
def
get_products(products_id):
Callers
5
get_products
Function · 0.85
create
Function · 0.85
edit
Function · 0.85
delete
Function · 0.85
index
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected