MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / _identifiers

Function _identifiers

mssqlcli/packages/parseutils/ctes.py:136–143  ·  view source on GitHub ↗
(tok)

Source from the content-addressed store, hash-verified

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

Callers 1

extract_column_namesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected