Sha256: 8d6af73212272853b71835ab84c4733437a65f5f272e67790a9933963d3897d8
Contents?: true
Size: 603 Bytes
Versions: 7
Compression:
Stored size: 603 Bytes
Contents
# Copyright 2020 Google LLC # # Use of this source code is governed by an MIT-style # license that can be found in the LICENSE file or at # https://opensource.org/licenses/MIT. module ActiveRecord module ConnectionAdapters class SpannerSchemaCache def initialize conn @connection = conn @primary_and_parent_keys = {} end def primary_and_parent_keys table_name @primary_and_parent_keys[table_name] ||= @connection.primary_and_parent_keys table_name end def clear! @primary_and_parent_keys.clear end end end end
Version data entries
7 entries across 7 versions & 1 rubygems