Method: ActiveTenant::PostgresAdapter#all

Defined in:
lib/active_tenant/adapters/postgres_adapter.rb

#allObject



9
10
11
# File 'lib/active_tenant/adapters/postgres_adapter.rb', line 9

def all
  connection.select_values("SELECT nspname FROM pg_namespace WHERE nspname <> 'information_schema' AND nspname NOT LIKE 'pg%'") - [global]
end