Skip to content

Commit

Permalink
Select explicit columns, closes #105, refs #98
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 16, 2021
1 parent 243a5f8 commit f2c163b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h2>Available tables</h2>
<ul class="dashboard-columns">
{% for table in available_tables %}
<li>
<a href="?sql={% filter sign_sql|urlencode %}select count(*) from {{ table.name }}{% endfilter %}&sql={% filter sign_sql|urlencode %}select * from {{ table.name }}{% endfilter %}">{{ table.name }}</a>
<a href="?sql={% filter sign_sql|urlencode %}select count(*) from {{ table.name }}{% endfilter %}&sql={% filter sign_sql|urlencode %}select {{ table.columns }} from {{ table.name }}{% endfilter %}">{{ table.name }}</a>
<p>{{ table.columns }}</p>
</li>
{% endfor %}
Expand Down

0 comments on commit f2c163b

Please sign in to comment.