class SQLite3::Statement
def execute!( *bind_vars, &block )
end
...
stmt.execute! do |row|
stmt = db.prepare( "select * from table" )
Example:
Any parameters will be bound to the statement using #bind_params.
yielded to the block.
rows returned by executing the statement. Otherwise, each row will be
Execute the statement. If no block was given, this returns an array of
def execute!( *bind_vars, &block ) execute(*bind_vars) block_given? ? each(&block) : to_a end