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



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

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