Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dbcli/pgcli
/ normalize_ref
Function
normalize_ref
pgcli/pgcompleter.py:58–59 ·
view source on GitHub ↗
(ref)
Source
from the content-addressed store, hash-verified
56
57
58
def
normalize_ref(ref):
59
return
ref
if
ref[0] ==
'"'
else
'"'
+ ref.lower() +
'"'
60
61
62
def
generate_alias(tbl, alias_map=None):
Callers
3
alias
Method · 0.85
get_join_matches
Method · 0.85
populate_scoped_cols
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected