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: #{row}"
end
thanks,
-joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---