Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

Inherits:
JdbcAdapter
  • Object
show all
Includes:
ArJdbc::PostgreSQL
Defined in:
lib/arjdbc/postgresql/adapter.rb

Defined Under Namespace

Classes: TableDefinition

Constant Summary

Constants included from ArJdbc::PostgreSQL

ArJdbc::PostgreSQL::ADAPTER_NAME, ArJdbc::PostgreSQL::NATIVE_DATABASE_TYPES

Instance Attribute Summary

Attributes inherited from JdbcAdapter

#config

Instance Method Summary collapse

Methods included from ArJdbc::PostgreSQL

#adapter_name, #add_column, #add_order_by_for_association_limiting!, #all_schemas, arel2_visitors, #change_column, #change_column_default, #change_column_null, column_selector, #create_database, #create_savepoint, #create_schema, #current_database, #default_sequence_name, #disable_referential_integrity, #distinct, #drop_database, #drop_schema, #encoding, #escape_bytea, extended, #extract_schema_and_table, #index_name_length, #indexes, jdbc_connection_class, #last_insert_id, #last_inserted_id, #multi_column_index_limit, #multi_column_index_limit=, #native_database_types, #pg_columns, #pk_and_sequence_for, #postgresql_version, #primary_key, #quote, #quote_column_name, #quote_table_name, #quoted_date, #recreate_database, #release_savepoint, #remove_index!, #rename_column, #rename_table, #reset_pk_sequence!, #rollback_to_savepoint, #sql_for_insert, #structure_dump, #supports_count_distinct?, #supports_ddl_transactions?, #supports_insert_with_returning?, #supports_migrations?, #supports_savepoints?, #supports_standard_conforming_strings?, #table_alias_length, #table_exists?, #tables, #type_to_sql

Methods inherited from JdbcAdapter

#_execute, #active?, #adapter_name, #adapter_spec, arel2_visitors, #begin_db_transaction, #commit_db_transaction, #configure_arel2_visitors, #database_name, #disconnect!, #exec_delete, #exec_insert, #exec_query, #exec_update, #execute, #indexes, #initialize, #insert_sql, #is_a?, #jdbc_columns, #jdbc_connection, #jdbc_insert, #jdbc_select_all, #jdbc_update, #last_inserted_id, #modify_types, #native_database_types, #native_sql_to_type, #pk_and_sequence_for, #primary_key, #primary_keys, #reconnect!, #rollback_db_transaction, #select, #select_one, #select_rows, #substitute_binds, #supports_migrations?, #table_exists?, #tables, visitor_for, #write_large_object

Methods included from ShadowCoreMethods

#alias_chained_method

Methods included from JdbcConnectionPoolCallbacks

included, needed?, #on_checkin, #on_checkout

Methods included from CompatibilityMethods

needed?, #quote_table_name

Constructor Details

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

Instance Method Details

#jdbc_column_classObject



819
820
821
# File 'lib/arjdbc/postgresql/adapter.rb', line 819

def jdbc_column_class
  ActiveRecord::ConnectionAdapters::PostgreSQLColumn
end

#jdbc_connection_class(spec) ⇒ Object



815
816
817
# File 'lib/arjdbc/postgresql/adapter.rb', line 815

def jdbc_connection_class(spec)
  ::ArJdbc::PostgreSQL.jdbc_connection_class
end

#table_definitionObject



811
812
813
# File 'lib/arjdbc/postgresql/adapter.rb', line 811

def table_definition
  TableDefinition.new(self)
end