diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-22 21:13:35 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-04-22 21:13:35 -0300 |
commit | a510f5c39fc8365ef2dffb8f0cd81c755f0b902e (patch) | |
tree | 9ab5e33a6b7a927c02e60b9ef1a25fec4a870022 | |
parent | 4d0464187cebdf513f91a61c356a2452043d27e7 (diff) | |
download | rails-a510f5c39fc8365ef2dffb8f0cd81c755f0b902e.tar.gz rails-a510f5c39fc8365ef2dffb8f0cd81c755f0b902e.tar.bz2 rails-a510f5c39fc8365ef2dffb8f0cd81c755f0b902e.zip |
Better docs formatting
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb index 29ac9341ec..30ccb8f0a4 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb @@ -2,52 +2,53 @@ module ActiveRecord module ConnectionAdapters # :nodoc: module DatabaseLimits - # the maximum length of a table alias + # Returns the maximum length of a table alias. def table_alias_length 255 end - # the maximum length of a column name + # Returns the maximum length of a column name. def column_name_length 64 end - # the maximum length of a table name + # Returns the maximum length of a table name. def table_name_length 64 end - # the maximum length of an index name + # Returns the maximum length of an index name. def index_name_length 64 end - # the maximum number of columns per table + # Returns the maximum number of columns per table. def columns_per_table 1024 end - # the maximum number of indexes per table + # Returns the maximum number of indexes per table. def indexes_per_table 16 end - # the maximum number of columns in a multicolumn index + # Returns the maximum number of columns in a multicolumn index. def columns_per_multicolumn_index 16 end - # the maximum number of elements in an IN (x,y,z) clause. nil means no limit + # Returns the maximum number of elements in an IN (x,y,z) clause. + # nil means no limit. def in_clause_length nil end - # the maximum length of an SQL query + # Returns the maximum length of an SQL query. def sql_query_length 1048575 end - # maximum number of joins in a single query + # Returns maximum number of joins in a single query. def joins_per_query 256 end |