module Sequel::Postgres::Dataset::ArgumentMapper

  1. lib/sequel/adapters/postgres.rb
Parent: Dataset

PostgreSQL specific argument mapper used for mapping the named argument hash to a array with numbered arguments. Only used with the pg driver.

Methods

Protected Instance

  1. map_to_prepared_args

Included modules

  1. Sequel::Dataset::ArgumentMapper

Protected Instance methods

map_to_prepared_args (hash)

An array of bound variable values for this query, in the correct order.

[show source]
# File lib/sequel/adapters/postgres.rb, line 664
def map_to_prepared_args(hash)
  prepared_args.map{|k| hash[k.to_sym]}
end