{% extends "base.html" %} {% block content %}

Query

{% if error %}
{{ error }}
{% endif %}
⌘/Ctrl + Enter to run. Any valid SQL is executed directly against the database — including writes.
{% if columns %}
{% for c in columns %}{% endfor %} {% for row in rows %} {% for c in columns %}{% endfor %} {% endfor %}
{{ c }}
{{ row[c] }}
{{ rows|length }} row(s){% if rowcount is not none %} · {{ rowcount }} affected{% endif %}
{% elif rowcount is not none %}
No rows returned{% if rowcount %} — {{ rowcount }} row(s) affected{% endif %}.
{% endif %} {% endblock %}