On 6/23/2010 5:28 AM, Alexander Zhabotinskiy wrote:
Hello. I'v got an problem

I have a string like 'john' and I need to get results for 'john, JOHN'
etc. How to do that?

I think perhaps the ilike() filter operator might be the only way? It might even depend on your back-end.

http://www.sqlalchemy.org/docs/ormtutorial.html#common-filter-operators

http://www.sqlalchemy.org/docs/reference/sqlalchemy/expressions.html#sqlalchemy.sql.expression.ColumnOperators

Lance

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to