Module: ActiveRecord::ConnectionAdapters::Sqlserver::DatabaseLimits
- Included in:
- ActiveRecord::ConnectionAdapters::SQLServerAdapter
- Defined in:
- lib/active_record/connection_adapters/sqlserver/database_limits.rb
Instance Method Summary collapse
- #column_name_length ⇒ Object
- #columns_per_multicolumn_index ⇒ Object
- #columns_per_table ⇒ Object
- #in_clause_length ⇒ Object
- #index_name_length ⇒ Object
- #indexes_per_table ⇒ Object
- #joins_per_query ⇒ Object
- #sql_query_length ⇒ Object
- #table_alias_length ⇒ Object
- #table_name_length ⇒ Object
Instance Method Details
#column_name_length ⇒ Object
10 11 12 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 10 def column_name_length 128 end |
#columns_per_multicolumn_index ⇒ Object
30 31 32 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 30 def columns_per_multicolumn_index 16 end |
#columns_per_table ⇒ Object
22 23 24 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 22 def columns_per_table 1024 end |
#in_clause_length ⇒ Object
34 35 36 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 34 def in_clause_length 65536 end |
#index_name_length ⇒ Object
18 19 20 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 18 def index_name_length 128 end |
#indexes_per_table ⇒ Object
26 27 28 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 26 def indexes_per_table 999 end |
#joins_per_query ⇒ Object
42 43 44 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 42 def joins_per_query 256 end |
#sql_query_length ⇒ Object
38 39 40 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 38 def sql_query_length 65536 * 4096 end |
#table_alias_length ⇒ Object
6 7 8 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 6 def table_alias_length 128 end |
#table_name_length ⇒ Object
14 15 16 |
# File 'lib/active_record/connection_adapters/sqlserver/database_limits.rb', line 14 def table_name_length 128 end |