module ActiveRecord::ConnectionAdapters::Fb::DatabaseLimits

Public Instance Methods

column_name_length() click to toggle source

the maximum length of a column name

# File lib/active_record/connection_adapters/fb/database_limits.rb, line 11
def column_name_length
  31
end
in_clause_length() click to toggle source

the maximum number of elements in an IN (x,y,z) clause

# File lib/active_record/connection_adapters/fb/database_limits.rb, line 31
def in_clause_length
  1_499
end
index_name_length() click to toggle source

the maximum length of an index name

# File lib/active_record/connection_adapters/fb/database_limits.rb, line 21
def index_name_length
  31
end
indexes_per_table() click to toggle source

the maximum number of indexes per table

# File lib/active_record/connection_adapters/fb/database_limits.rb, line 26
def indexes_per_table
  65_535
end
sql_query_length() click to toggle source

the maximum length of an SQL query

# File lib/active_record/connection_adapters/fb/database_limits.rb, line 36
def sql_query_length
  32_767
end
table_alias_length() click to toggle source

the maximum length of a table alias

# File lib/active_record/connection_adapters/fb/database_limits.rb, line 6
def table_alias_length
  31
end
table_name_length() click to toggle source

the maximum length of a table name

# File lib/active_record/connection_adapters/fb/database_limits.rb, line 16
def table_name_length
  31
end