class Sequel::Postgres::AutoParameterize::PlaceholderLiteralizer

  1. lib/sequel/extensions/pg_auto_parameterize.rb
Superclass: Sequel::Dataset::PlaceholderLiteralizer

PlacholderLiteralizer subclass with support for stored auto parameters.

Methods

Public Class

  1. new

Public Class methods

new(dataset, fragments, final_sql, arity)
[show source]
    # File lib/sequel/extensions/pg_auto_parameterize.rb
185 def initialize(dataset, fragments, final_sql, arity)
186   s = dataset.sql.dup
187   s.clear
188   @sql_origin = s.freeze
189   super
190 end