In the past I have frequently written queries like: SELECT id, f_name || l_name AS name FROM emp ORDER BY LOWER ( l_name ) ASC, LOWER ( f_name ) ASC;
How can I do this in Sequel? Emp.select( :id, :f_name, :l_name).order ( :l_name.downcase, :f_name.downcase ).all will give me undefined method `downcase' for :name:Symbol any ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
