method

primary_keys

Importance_0
primary_keys(table_name = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 19
      def primary_keys(table_name = nil)
        if table_name
          @primary_keys[table_name]
        else
          ActiveSupport::Deprecation.warn('call primary_keys with a table name!')
          @primary_keys.dup
        end
      end
Register or log in to add new notes.