method
foreign_keys
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaStatements
foreign_keys(table_name)public
Returns an array of foreign keys for the given table. The foreign keys are represented as ForeignKeyDefinition objects.