(sql)
| 739 | |
| 740 | |
| 741 | def 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 |
no test coverage detected