String that holds an array of parameters
The array of parameters used by this query.
Add a new parameter to this query, which adds the parameter to the array of parameters, and an SQL placeholder to the query itself.
# File lib/sequel/extensions/pg_auto_parameterize.rb, line 75 def add_arg(s, type) @args ||= [] @args << s self << "$#{@args.length}::#{type}" end
Show args when the string is inspected
# File lib/sequel/extensions/pg_auto_parameterize.rb, line 82 def inspect @args ? "#{self}; #{@args.inspect}".inspect : super end