Method: ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements#current_schema

Defined in:
activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb

#current_schemaObject

Returns the current schema name.



185
186
187
# File 'activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb', line 185

def current_schema
  query_value("SELECT current_schema", "SCHEMA")
end