mirror of https://github.com/rails/rails
Add documentation for IndexDefinition.
This commit is contained in:
parent
5f92bf1ca0
commit
92887ca315
|
@ -6,6 +6,9 @@ require 'bigdecimal/util'
|
|||
|
||||
module ActiveRecord
|
||||
module ConnectionAdapters #:nodoc:
|
||||
# Abstract representation of an index definition on a table. Instances of
|
||||
# this type are typically created and returned by methods in database
|
||||
# adapters. e.g. ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter#indexes
|
||||
class IndexDefinition < Struct.new(:table, :name, :unique, :columns, :lengths, :orders, :where) #:nodoc:
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue