On 08/06/2010 7:31 PM, Shawn J. Goff wrote:
How can I set up a variable to hold the columns I want then pass that
to dataset.select()?

Something like:

columns = [:column1, :column2, :column3]
dataset.select(columns)

columns = [:column1, :column2, :column3]
dataset.select(*columns)

(note the * before the column argument to expand the array to separate 
parameters for the select())

Cheers,
Gary.


--
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.

Reply via email to