Method: Sequel::Postgres::AutoParameterize::QueryString#+

Defined in:
lib/sequel/extensions/pg_auto_parameterize.rb

#+(other) ⇒ Object

Return a new QueryString with the given string appended to the receiver, and the same arguments.



122
123
124
125
126
# File 'lib/sequel/extensions/pg_auto_parameterize.rb', line 122

def +(other)
  v = self.class.new(super)
  v.instance_variable_set(:@args, @args) if @args
  v
end