Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

Public Class Methods

new(*args) click to toggle source
# File lib/arjdbc/postgresql/adapter.rb, line 1316
def initialize(*args)
  # @local_tz is initialized as nil to avoid warnings when connect tries to use it
  @local_tz = nil

  super # configure_connection happens in super

  @table_alias_length = nil

  @use_insert_returning = config.key?(:insert_returning) ?
    self.class.type_cast_config_to_boolean(config[:insert_returning]) : nil
end

Public Instance Methods

jdbc_column_class() click to toggle source

@see ActiveRecord::ConnectionAdapters::JdbcAdapter#jdbc_column_class

# File lib/arjdbc/postgresql/adapter.rb, line 1455
def jdbc_column_class
  ::ActiveRecord::ConnectionAdapters::PostgreSQLColumn
end
jdbc_connection_class(spec) click to toggle source
# File lib/arjdbc/postgresql/adapter.rb, line 1450
def jdbc_connection_class(spec)
  ::ArJdbc::PostgreSQL.jdbc_connection_class
end
table_definition(*args) click to toggle source
# File lib/arjdbc/postgresql/adapter.rb, line 1438
def table_definition(*args)
  new_table_definition(TableDefinition, *args)
end
update_table_definition(table_name, base) click to toggle source
# File lib/arjdbc/postgresql/adapter.rb, line 1446
def update_table_definition(table_name, base)
  Table.new(table_name, base)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.