{% if error or results %}
{% if error %}
Error: {{ error }}
{% endif %} {% if results %} {% for col in columns %} {% endfor %} {% for row in results %} {% for col in columns %} {% endfor %} {% endfor %}
{{ col }}
{{ row[col] }}
{% endif %}
{% endif %}