MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / __init__

Method __init__

src/scripts/rag/query.py:17–19  ·  view source on GitHub ↗
(self, db_path: str)

Source from the content-addressed store, hash-verified

15
16class DatabaseConnection:
17 def __init__(self, db_path: str):
18 self.db = sqlite3.connect(db_path)
19 self.db.row_factory = sqlite3.Row
20
21def getAllRows(db: sqlite3.Connection, workspace: str):
22 cursor = db.cursor()

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected