mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-11 07:56:06 -06:00
7 lines
207 B
MySQL
7 lines
207 B
MySQL
|
{# SQL query for getting current_schemas #}
|
||
|
{% if search_path %}
|
||
|
SELECT * FROM unnest(current_schemas(true)) AS schema
|
||
|
{% else %}
|
||
|
SELECT nspname AS schema FROM pg_catalog.pg_namespace ORDER BY 1
|
||
|
{% endif %}
|