MCPcopy 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
58def normalize_ref(ref):
59 return ref if ref[0] == '"' else '"' + ref.lower() + '"'
60
61
62def generate_alias(tbl, alias_map=None):

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