MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / parse_having

Function parse_having

evaluation/test-suite-sql-eval/process_sql.py:471–480  ·  view source on GitHub ↗
(toks, start_idx, tables_with_alias, schema, default_tables)

Source from the content-addressed store, hash-verified

469
470
471def parse_having(toks, start_idx, tables_with_alias, schema, default_tables):
472 idx = start_idx
473 len_ = len(toks)
474
475 if idx >= len_ or toks[idx] != 'having':
476 return idx, []
477
478 idx += 1
479 idx, conds = parse_condition(toks, idx, tables_with_alias, schema, default_tables)
480 return idx, conds
481
482
483def parse_limit(toks, start_idx):

Callers 1

parse_sqlFunction · 0.70

Calls 1

parse_conditionFunction · 0.70

Tested by

no test coverage detected