Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CL-lau/SQL-GPT
/ __init__
Method
__init__
sql/SQLOperator.py:31–34 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
29
@singleton
30
class
SQLHelper:
31
def
__init__(self):
32
self.generated_ids = set()
33
34
self.dbMap = {}
35
36
def
operate(self, sql: Optional[str], dbID: Optional[str]) -> [int, Any]:
37
sqlType = get_db_operation_class(sql=sql)
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected