{% extends "_base.html" %} {% import 'tables/_macros.html' as table_macros %} {% block body %}

SQL Query

{% if sql_params|length %}

Parameters

{% for param_name, param_value in sql_params.items() %}
{% endfor %} {% endif %}
{% if error %} {% else %}

Results

Export CSV
{% for column in table_results.columns %} {% endfor %} {% for row in table_results.to_numpy().tolist() %} {% for col in row %} {% endfor %} {% endfor %}
{{ column }}
{{ col }}
{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}