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

Function rebuild_sql_val

evaluation/test-suite-sql-eval/evaluation.py:811–822  ·  view source on GitHub ↗
(sql)

Source from the content-addressed store, hash-verified

809
810
811def rebuild_sql_val(sql):
812 if sql is None or not DISABLE_VALUE:
813 return sql
814
815 sql['from']['conds'] = rebuild_condition_val(sql['from']['conds'])
816 sql['having'] = rebuild_condition_val(sql['having'])
817 sql['where'] = rebuild_condition_val(sql['where'])
818 sql['intersect'] = rebuild_sql_val(sql['intersect'])
819 sql['except'] = rebuild_sql_val(sql['except'])
820 sql['union'] = rebuild_sql_val(sql['union'])
821
822 return sql
823
824
825# Rebuild SQL functions for foreign key evaluation

Callers 2

evaluateFunction · 0.70
rebuild_cond_unit_valFunction · 0.70

Calls 1

rebuild_condition_valFunction · 0.70

Tested by

no test coverage detected