gl-website-deployer/admin/phpMyAdmin/templates/preview_sql.twig

12 lines
301 B
Twig
Raw Normal View History

2024-11-23 20:45:29 +01:00
<div class="preview_sql">
{% if query_data is empty %}
{% trans 'No change' %}
{% elseif query_data is iterable %}
{% for query in query_data %}
{{ format_sql(query) }}
{% endfor %}
{% else %}
{{ format_sql(query_data) }}
{% endif %}
</div>