debug/sql: show "NULL" for null columns
This commit is contained in:
parent
4ec50aad80
commit
2fae55c094
@ -16,7 +16,13 @@
|
||||
{% for row in result %}
|
||||
<tr>
|
||||
{% for col in row %}
|
||||
<td>{{ col | e }}</td>
|
||||
<td>
|
||||
{% if col != null %}
|
||||
{{ col | e }}
|
||||
{% else %}
|
||||
<em>NULL</em>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user