2009/5/20 Clive Crous <[email protected]>

>
>
> 2009/5/20 Eric <[email protected]>
>
>> How can I do this in Sequel?
>>
>>   Emp.select( :id, :f_name, :l_name).order
>> ( :l_name.downcase, :f_name.downcase ).all
>>
>
> try:
>
> Emp.select( id, :f_name, :l_name).order( :downcase[ :lname ], :downcase[
> :fname ] ).all
>

I meant:

Emp.select( id, :f_name, :l_name).order( :lower[ :lname ], :lower[ :fname ]
).all

sorry

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