#primary_key? ⇒ Boolean (readonly)
[ GitHub ]
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 92
def primary_key? [:primary_key] end
123456789_123456789_123456789_123456789_123456789_
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::Struct
|
|
|
Instance Chain:
self,
::Struct
|
|
| Inherits: | Struct |
| Defined in: | activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb |
Abstract representation of a column definition. Instances of this type are typically created by methods in TableDefinition, and added to the columns attribute of said TableDefinition object, in order to be used for generating a number of table creation or table changing SQL statements.
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition.
Abstract representation of a column definition. Instances of this type are typically created by methods in TableDefinition, and added to the columns attribute of said TableDefinition object, in order to be used for generating a number of table creation or table changing SQL statements.
Abstract representation of a column definition. Instances of this type are typically created by methods in TableDefinition, and added to the columns attribute of said TableDefinition object, in order to be used for generating a number of table creation or table changing SQL statements.
Abstract representation of a column definition. Instances of this type are typically created by methods in TableDefinition, and added to the columns attribute of said TableDefinition object, in order to be used for generating a number of table creation or table changing SQL statements.
Boolean (readonly)
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 92
def primary_key? [:primary_key] end
Abstract representation of a column definition. Instances of this type are typically created by methods in TableDefinition, and added to the columns attribute of said TableDefinition object, in order to be used for generating a number of table creation or table changing SQL statements.
Abstract representation of a column definition. Instances of this type are typically created by methods in TableDefinition, and added to the columns attribute of said TableDefinition object, in order to be used for generating a number of table creation or table changing SQL statements.
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 112
def fetch_cast_type(connection) cast_type end