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

Function parse_where

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

Source from the content-addressed store, hash-verified

436
437
438def parse_where(toks, start_idx, tables_with_alias, schema, default_tables):
439 idx = start_idx
440 len_ = len(toks)
441
442 if idx >= len_ or toks[idx] != 'where':
443 return idx, []
444
445 idx += 1
446 idx, conds = parse_condition(toks, idx, tables_with_alias, schema, default_tables)
447 return idx, conds
448
449
450def parse_group_by(toks, start_idx, tables_with_alias, schema, default_tables):

Callers 1

parse_sqlFunction · 0.70

Calls 1

parse_conditionFunction · 0.70

Tested by

no test coverage detected