MCPcopy Create free account
hub / github.com/google-research/language / _iterate_sql

Function _iterate_sql

language/xsp/data_preprocessing/sql_parsing.py:232–238  ·  view source on GitHub ↗
(sql_parse)

Source from the content-addressed store, hash-verified

230
231
232def _iterate_sql(sql_parse):
233 for item in sql_parse:
234 if hasattr(item, 'tokens'):
235 for child in _iterate_sql(item):
236 yield child
237 else:
238 yield item
239
240
241def _get_all_aliases(sql, example):

Callers 1

_get_all_aliasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…