method
foreign_keys
v5.0.0.1 -
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.