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

Function _identifiers

web/pgadmin/utils/sqlautocomplete/parseutils/ctes.py:135–142  ·  view source on GitHub ↗
(tok)

Source from the content-addressed store, hash-verified

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

Callers 1

extract_column_namesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected