class Sequel::JDBC::Postgres::Dataset

  1. lib/sequel/adapters/jdbc/postgresql.rb
Superclass: Dataset

Methods

Public Instance

  1. with_fetch_size

Constants

ARRAY_TYPE = Java::JavaSQL::Types::ARRAY  
HSTORE_METHOD = Object.new  

Return PostgreSQL hstore types as ruby Hashes instead of Java HashMaps. Only used if the database does not have a conversion proc for the type.

INTEGER_TYPE = Java::JavaSQL::Types::INTEGER  
PG_SPECIFIC_TYPES = [Java::JavaSQL::Types::ARRAY, Java::JavaSQL::Types::OTHER, Java::JavaSQL::Types::STRUCT, Java::JavaSQL::Types::TIME_WITH_TIMEZONE, Java::JavaSQL::Types::TIME].freeze  
STRING_TYPE = Java::JavaSQL::Types::VARCHAR  

Public Instance methods

with_fetch_size(size)

Warn when calling as the fetch size is ignored by the JDBC adapter currently.

[show source]
    # File lib/sequel/adapters/jdbc/postgresql.rb
185 def with_fetch_size(size)
186   warn("Sequel::JDBC::Postgres::Dataset#with_fetch_size does not currently have an effect.", :uplevel=>1)
187   super
188 end