Add documentation for IndexDefinition.

This commit is contained in:
Waseem Ahmad 2012-03-02 01:28:30 +05:30
parent 5f92bf1ca0
commit 92887ca315
1 changed files with 3 additions and 0 deletions

View File

@ -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