instance method
columns
Ruby on Rails 4.1.16
Since v2.2.3Signature
columns(table_name)
Returns an array of Column objects for the table specified by table_name. See the concrete implementation for details on the expected parameter values.
Parameters
-
table_namereq
Source
# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 57
def columns(table_name) end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb line 57
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::SchemaStatements