instance method
columns
Ruby on Rails 5.0.7.2
Signature
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 100
def columns(table_name)
raise NotImplementedError, "#columns is not implemented"
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb line 100
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::SchemaStatements