Ensure primary key column names are quoted in View Data mode of the Query Tool. Fixes #2208
parent
40ff651ef3
commit
b19081421b
|
|
@ -4,7 +4,7 @@ SELECT * FROM {{ conn|qtIdent(nsp_name, object_name) }}
|
||||||
WHERE {{ sql_filter }}
|
WHERE {{ sql_filter }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if primary_keys %}
|
{% if primary_keys %}
|
||||||
ORDER BY {% for p in primary_keys %}{{p}}{% if cmd_type == 1 or cmd_type == 3 %} ASC{% elif cmd_type == 2 %} DESC{% endif %}
|
ORDER BY {% for p in primary_keys %}{{conn|qtIdent(p)}}{% if cmd_type == 1 or cmd_type == 3 %} ASC{% elif cmd_type == 2 %} DESC{% endif %}
|
||||||
{% if not loop.last %}, {% else %} {% endif %}{% endfor %}
|
{% if not loop.last %}, {% else %} {% endif %}{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if limit > 0 %}
|
{% if limit > 0 %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue