module Sequel::TinyTDS::Dataset::PreparedStatementMethods
SQLite prepared statement uses a new prepared statement each time it is called, but it does use the bind arguments.
Private Instance Methods
execute(sql, opts=OPTS, &block)
click to toggle source
Run execute_select on the database with the given SQL and the stored bind arguments.
Calls superclass method
# File lib/sequel/adapters/tinytds.rb, line 214 def execute(sql, opts=OPTS, &block) super(prepared_sql, {:arguments=>bind_arguments}.merge(opts), &block) end
execute_dui(sql, opts=OPTS, &block)
click to toggle source
Same as execute, explicit due to intricacies of alias and super.
Calls superclass method
# File lib/sequel/adapters/tinytds.rb, line 219 def execute_dui(sql, opts=OPTS, &block) super(prepared_sql, {:arguments=>bind_arguments}.merge(opts), &block) end
execute_insert(sql, opts=OPTS, &block)
click to toggle source
Same as execute, explicit due to intricacies of alias and super.
Calls superclass method
# File lib/sequel/adapters/tinytds.rb, line 224 def execute_insert(sql, opts=OPTS, &block) super(prepared_sql, {:arguments=>bind_arguments}.merge(opts), &block) end