{% extends "base.html" %} {% block title %}Query Runner — {{ project.name }} — Fossilrepo{% endblock %} {% block content %}

{{ project.name }}

{% include "fossil/_project_nav.html" %}
← Back to Explorer

SQL Query Runner

Execute read-only SELECT queries against the Fossil SQLite database. Results capped at 500 rows.

Only SELECT queries are allowed. No INSERT, UPDATE, DELETE, DROP, etc.
{% if error %}

{{ error }}

{% endif %} {% if columns %}
{% for col in columns %} {% endfor %} {% for row in results %} {% for cell in row %} {% endfor %} {% endfor %}
{{ col }}
{{ cell|default:"NULL" }}
{{ results|length }} row{{ results|length|pluralize }} returned{% if results|length >= 500 %} (limited to 500){% endif %}
{% elif sql and not error %}

No results.

{% endif %}

Available Tables

{% if table_names %}
{% for name in table_names %} {% endfor %}
{% else %}

Run a query to see tables, or go to the Explorer.

{% endif %}
{% endblock %}