I tried to play with the Sequel.qualify methods without success to reproduce 
the following:


# Is there a way to make this line nicer with sequel built in methods?
fields = %w(type name).map {|c| "fruits__#{c}".to_sym } + %w(weight name).map 
{|c| "vegetables__#{c}".to_sym }

f = Sequel.function(:row, *fields)

.. here I do a select with fruits and vegetables tables joined ...

Best regards

--
Nicolas

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to