Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlyingFeather/DEA-SQL
/ extract_references
Function
extract_references
common/common.py:57–60 ·
view source on GitHub ↗
(sql)
Source
from the content-addressed store, hash-verified
55
56
57
def
extract_references(sql):
58
pattern = r
"REFERENCES\s+(\w+)\s+\((\w+)\)"
59
matches = re.findall(pattern, sql)
60
return
matches
61
62
63
def
extract_label(text):
Callers
1
get_table_characters_from_foreign_key
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected