Module: ActiveRecord::ConnectionAdapters::Fb::DatabaseLimits
- Included in:
- ActiveRecord::ConnectionAdapters::FbAdapter
- Defined in:
- lib/active_record/connection_adapters/fb/database_limits.rb
Instance Method Summary collapse
-
#column_name_length ⇒ Object
the maximum length of a column name.
-
#in_clause_length ⇒ Object
the maximum number of elements in an IN (x,y,z) clause.
-
#index_name_length ⇒ Object
the maximum length of an index name.
-
#indexes_per_table ⇒ Object
the maximum number of indexes per table.
-
#sql_query_length ⇒ Object
the maximum length of an SQL query.
-
#table_alias_length ⇒ Object
the maximum length of a table alias.
-
#table_name_length ⇒ Object
the maximum length of a table name.
Instance Method Details
#column_name_length ⇒ Object
the maximum length of a column name
11 12 13 |
# File 'lib/active_record/connection_adapters/fb/database_limits.rb', line 11 def column_name_length 31 end |
#in_clause_length ⇒ Object
the maximum number of elements in an IN (x,y,z) clause
31 32 33 |
# File 'lib/active_record/connection_adapters/fb/database_limits.rb', line 31 def in_clause_length 1_499 end |
#index_name_length ⇒ Object
the maximum length of an index name
21 22 23 |
# File 'lib/active_record/connection_adapters/fb/database_limits.rb', line 21 def index_name_length 31 end |
#indexes_per_table ⇒ Object
the maximum number of indexes per table
26 27 28 |
# File 'lib/active_record/connection_adapters/fb/database_limits.rb', line 26 def indexes_per_table 65_535 end |
#sql_query_length ⇒ Object
the maximum length of an SQL query
36 37 38 |
# File 'lib/active_record/connection_adapters/fb/database_limits.rb', line 36 def sql_query_length 32_767 end |
#table_alias_length ⇒ Object
the maximum length of a table alias
6 7 8 |
# File 'lib/active_record/connection_adapters/fb/database_limits.rb', line 6 def table_alias_length 31 end |
#table_name_length ⇒ Object
the maximum length of a table name
16 17 18 |
# File 'lib/active_record/connection_adapters/fb/database_limits.rb', line 16 def table_name_length 31 end |