Class: ActiveRecord::ConnectionAdapters::ForeignKeyConstraint
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecord::ConnectionAdapters::ForeignKeyConstraint
- Defined in:
- lib/connection_adapters/abstract_adapter.rb
Overview
Generic holder for foreign key constraint meta-data from the database schema.
Instance Attribute Summary collapse
-
#foreign_key ⇒ Object
Returns the value of attribute foreign_key.
-
#name ⇒ Object
Returns the value of attribute name.
-
#on_delete ⇒ Object
Returns the value of attribute on_delete.
-
#on_update ⇒ Object
Returns the value of attribute on_update.
-
#reference_column ⇒ Object
Returns the value of attribute reference_column.
-
#reference_table ⇒ Object
Returns the value of attribute reference_table.
-
#table ⇒ Object
Returns the value of attribute table.
Instance Attribute Details
#foreign_key ⇒ Object
Returns the value of attribute foreign_key
6 7 8 |
# File 'lib/connection_adapters/abstract_adapter.rb', line 6 def foreign_key @foreign_key end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/connection_adapters/abstract_adapter.rb', line 6 def name @name end |
#on_delete ⇒ Object
Returns the value of attribute on_delete
6 7 8 |
# File 'lib/connection_adapters/abstract_adapter.rb', line 6 def on_delete @on_delete end |
#on_update ⇒ Object
Returns the value of attribute on_update
6 7 8 |
# File 'lib/connection_adapters/abstract_adapter.rb', line 6 def on_update @on_update end |
#reference_column ⇒ Object
Returns the value of attribute reference_column
6 7 8 |
# File 'lib/connection_adapters/abstract_adapter.rb', line 6 def reference_column @reference_column end |
#reference_table ⇒ Object
Returns the value of attribute reference_table
6 7 8 |
# File 'lib/connection_adapters/abstract_adapter.rb', line 6 def reference_table @reference_table end |
#table ⇒ Object
Returns the value of attribute table
6 7 8 |
# File 'lib/connection_adapters/abstract_adapter.rb', line 6 def table @table end |