MCPcopy Index your code
hub / github.com/dbcli/pgcli / _identifiers

Function _identifiers

pgcli/packages/parseutils/ctes.py:137–144  ·  view source on GitHub ↗
(tok)

Source from the content-addressed store, hash-verified

135
136
137def _identifiers(tok):
138 if isinstance(tok, IdentifierList):
139 for t in tok.get_identifiers():
140 # NB: IdentifierList.get_identifiers() can return non-identifiers!
141 if isinstance(t, Identifier):
142 yield t
143 elif isinstance(tok, Identifier):
144 yield tok

Callers 1

extract_column_namesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected