module Sequel::IBMDB::Dataset::PreparedStatementMethods
Methods for DB2 prepared statements using the native driver.
Private Instance Methods
execute(sql, 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 395 def execute(sql, opts={}, &block) super(prepared_statement_name, {:arguments=>bind_arguments}.merge(opts), &block) end
execute_dui(sql, 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 400 def execute_dui(sql, opts={}, &block) super(prepared_statement_name, {:arguments=>bind_arguments}.merge(opts), &block) end
execute_insert(sql, 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 405 def execute_insert(sql, opts={}, &block) super(prepared_statement_name, {:arguments=>bind_arguments}.merge(opts), &block) end