(sql)
| 809 | |
| 810 | |
| 811 | def 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 |
no test coverage detected