On Feb 12, 7:42 am, Joseph McDonald [EMAIL PROTECTED] wrote:
Hi,
I was wondering if execute_select could return the results even if no
block is given. Right now, this works:
@DB.execute_select(sql) { |rows|
rows.each do |row|
puts row: #{row}
end
}
This doesn't (I think it
Hi,
I was wondering if execute_select could return the results even if no
block is given. Right now, this works:
@DB.execute_select(sql) { |rows|
rows.each do |row|
puts row: #{row}
end
}
This doesn't (I think it used to):
rows = @DB.execute_select(sql)
rows.each do |row|
puts row: