On Thursday 27 September 2007 00:34:43 Kevin wrote:
> Fix: Forgot the func.lower for the description:
> tipos =
> Tipolmovel.select(func.lower(Tipolmovel.q.description).startswith(func.lowe
>r(descricao)))

And if you have an index on LOWER(description) on your database you can 
improve that query.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to