{% extends "base.html" %}{% from "_macros.html" import csrf, page_head %} {% block title %}SQL{% endblock %} {% block content %} {{ page_head("SQL console") }} {% include "_admin_nav.html" %}
Runs as the app's database user. Read mode runs in a READ ONLY transaction (any write is rejected by Postgres). Write mode needs both boxes ticked. Every statement is logged. 15 s timeout, {{ 500 }} rows max.
{% if error %}{{ error }}
{% endif %} {% if info %}{{ info }}
{% endif %} {% if columns %}| {{ c }} | {% endfor %}
|---|
| {{ v[:300] }} | {% endfor %}