class ActiveRecord::ConnectionAdapters::Spanner::Table

Public Instance Methods

primary_key(name, type = :primary_key, **options) click to toggle source
Calls superclass method
# File lib/active_record/connection_adapters/spanner/schema_definitions.rb, line 39
def primary_key name, type = :primary_key, **options
  type = :string # rubocop:disable Lint/ShadowedArgument
  options.merge primary_key: true
  super
end