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

Function rebuild_sql_val

single_eval.py:741–752  ·  view source on GitHub ↗
(sql)

Source from the content-addressed store, hash-verified

739
740
741def rebuild_sql_val(sql):
742 if sql is None or not DISABLE_VALUE:
743 return sql
744
745 sql['from']['conds'] = rebuild_condition_val(sql['from']['conds'])
746 sql['having'] = rebuild_condition_val(sql['having'])
747 sql['where'] = rebuild_condition_val(sql['where'])
748 sql['intersect'] = rebuild_sql_val(sql['intersect'])
749 sql['except'] = rebuild_sql_val(sql['except'])
750 sql['union'] = rebuild_sql_val(sql['union'])
751
752 return sql
753
754
755# 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