Would it be possible to enhance the Dataset#get so that an array can be
passed and get back an array?
i.e.
charges, payments, balance = DB[:billing_headers].filter(:billing =>
5).get(:charges, :payments, :balance)
Essentially, a shorthand for:
DB[:billing_headers].filter(:billing => 5).
select(:charges, :payments, :balance).
map{|bh| [bh[:charges], bh[:payments], bh[:balance]}
Michael
--
http://codeconnoisseur.org
--
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.