Module | Sequel::JDBC::Postgres::DatabaseMethods |
In: |
lib/sequel/adapters/jdbc/postgresql.rb
|
Add the primary_keys and primary_key_sequences instance variables, so we can get the correct return values for inserted rows.
# File lib/sequel/adapters/jdbc/postgresql.rb, line 48 48: def self.extended(db) 49: db.instance_eval do 50: @primary_keys = {} 51: @primary_key_sequences = {} 52: end 53: end
Return instance of Sequel::JDBC::Postgres::Dataset with the given opts.
# File lib/sequel/adapters/jdbc/postgresql.rb, line 56 56: def dataset(opts=nil) 57: Sequel::JDBC::Postgres::Dataset.new(self, opts) 58: end