Methods to add to Database instances that access PostgreSQL via DataObjects.
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/do/postgres.rb, line 17 17: def self.extended(db) 18: db.instance_eval do 19: @primary_keys = {} 20: @primary_key_sequences = {} 21: end 22: end
Extend the adapter with the DataObjects PostgreSQL AdapterMethods
# File lib/sequel/adapters/do/postgres.rb, line 27 27: def setup_connection(conn) 28: conn = super(conn) 29: connection_configuration_sqls.each{|sql| log_yield(sql){conn.create_command(sql).execute_non_query}} 30: conn 31: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.