MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / normalize_ref

Function normalize_ref

web/pgadmin/utils/sqlautocomplete/autocomplete.py:72–73  ·  view source on GitHub ↗
(ref)

Source from the content-addressed store, hash-verified

70
71
72def normalize_ref(ref):
73 return ref if ref[0] == '"' else '"' + ref.lower() + '"'
74
75
76def generate_alias(tbl):

Callers 3

aliasMethod · 0.85
get_join_matchesMethod · 0.85
populate_scoped_colsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected