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

Function parse_having

hardness_eval.py:500–509  ·  view source on GitHub ↗
(toks, start_idx, tables_with_alias, schema, default_tables)

Source from the content-addressed store, hash-verified

498
499
500def parse_having(toks, start_idx, tables_with_alias, schema, default_tables):
501 idx = start_idx
502 len_ = len(toks)
503
504 if idx >= len_ or toks[idx] != 'having':
505 return idx, []
506
507 idx += 1
508 idx, conds = parse_condition(toks, idx, tables_with_alias, schema, default_tables)
509 return idx, conds
510
511
512def parse_limit(toks, start_idx):

Callers 1

parse_sqlFunction · 0.70

Calls 1

parse_conditionFunction · 0.70

Tested by

no test coverage detected