from sqlalchemy import func
query(Widget).filter(func.lower(Widget.name) == func.lower("Some name"))
if you're using "LIKE", you can use ILIKE instead which is built in:
Widget.name.ilike("Some Expression")
> --
> You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
> To post to this group, send email to sqlal...@googlegroups.com.
> To unsubscribe from this group, send email to sqlalchemy+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
>