Module: ActiveRecord::ConnectionAdapters::AbstractPool

Defined in:
lib/active_record/connection_adapters/spanner_adapter.rb

Instance Method Summary collapse

Instance Method Details

#get_schema_cache(connection) ⇒ Object



46
47
48
49
50
# File 'lib/active_record/connection_adapters/spanner_adapter.rb', line 46

def get_schema_cache connection
  self.schema_cache ||= SpannerSchemaCache.new connection
  schema_cache.connection = connection
  schema_cache
end