module Sequel::Dataset::UnnumberedArgumentMapper

  1. lib/sequel/dataset/prepared_statements.rb

Default implementation for an argument mapper that uses unnumbered SQL placeholder arguments. Keeps track of which arguments have been used, and allows arguments to be used more than once.

Methods

Protected Instance

  1. map_to_prepared_args

Included modules

  1. ArgumentMapper

Protected Instance methods

map_to_prepared_args(bind_vars)

Returns a single output array mapping the values of the input hash. Keys in the input hash that are used more than once in the query have multiple entries in the output array.

[show source]
    # File lib/sequel/dataset/prepared_statements.rb
254 def map_to_prepared_args(bind_vars)
255   prepared_args.map{|v| bind_vars[v]}
256 end