module Sequel::IBMDB::Dataset::PreparedStatementMethods
Methods for DB2 prepared statements using the native driver.
Private Instance Methods
execute(sql, opts=OPTS, &block)
click to toggle source
Execute the prepared statement with arguments instead of the given SQL.
Calls superclass method
# File lib/sequel/adapters/ibmdb.rb, line 402 def execute(sql, opts=OPTS, &block) super(prepared_statement_name, {:arguments=>bind_arguments}.merge(opts), &block) end
execute_dui(sql, opts=OPTS, &block)
click to toggle source
Execute the prepared statment with arguments instead of the given SQL.
Calls superclass method
# File lib/sequel/adapters/ibmdb.rb, line 407 def execute_dui(sql, opts=OPTS, &block) super(prepared_statement_name, {:arguments=>bind_arguments}.merge(opts), &block) end
execute_insert(sql, opts=OPTS, &block)
click to toggle source
Execute the prepared statement with arguments instead of the given SQL.
Calls superclass method
# File lib/sequel/adapters/ibmdb.rb, line 412 def execute_insert(sql, opts=OPTS, &block) super(prepared_statement_name, {:arguments=>bind_arguments}.merge(opts), &block) end