Class: ActiveRecord::ConnectionAdapters::RubyfbAR31Adapter

Inherits:
RubyfbAdapter
  • Object
show all
Defined in:
lib/active_record/connection_adapters/rubyfb_adapter.rb

Constant Summary

Constants inherited from RubyfbAdapter

ActiveRecord::ConnectionAdapters::RubyfbAdapter::ADAPTER_NAME, ActiveRecord::ConnectionAdapters::RubyfbAdapter::IDENTIFIER_MAX_LENGTH, ActiveRecord::ConnectionAdapters::RubyfbAdapter::TEMP_COLUMN_NAME

Instance Method Summary collapse

Methods inherited from RubyfbAdapter

#active?, #adapter_name, #add_column, #add_limit_offset!, #begin_db_transaction, #change_column, #change_column_default, #change_column_null, #clear_cache!, #column_name_length, #columns, #commit_db_transaction, #create_table, #create_table_and_sequence, #current_database, #default_sequence_name, #disconnect!, #drop_table, #dump_schema_information, #exec_insert, #exec_query, #execute, #execute_procedure, #in_clause_length, #index_name, #index_name_length, #indexes, #initialize, #insert_fixture, #last_inserted_id, #native_database_types, #next_sequence_value, #prefetch_primary_key?, #primary_key, #quote, #quote_column_name, #quote_string, #quoted_false, #quoted_true, #reconnect!, #recreate_database!, #remove_index, #rename_column, #rename_table, #reset!, #rollback_db_transaction, #select_rows, #super_create_table, #supports_ddl_transactions?, #supports_migrations?, #supports_statement_cache?, #table_alias_length, #table_exists?, #table_name_length, #tables, #type_cast, #type_to_sql, visitor_for, #write_blobs

Constructor Details

This class inherits a constructor from ActiveRecord::ConnectionAdapters::RubyfbAdapter

Instance Method Details

#explain(arel, binds = []) ⇒ Object



1097
1098
1099
# File 'lib/active_record/connection_adapters/rubyfb_adapter.rb', line 1097

def explain(arel, binds = [])
  exec_query(to_sql(arel), 'EXPLAIN', binds)
end

#supports_explain?Boolean

Returns:

  • (Boolean)


1093
1094
1095
# File 'lib/active_record/connection_adapters/rubyfb_adapter.rb', line 1093

def supports_explain?
  true
end