Any progress on considering:

* icontains
* istartswith
* iendswith

I ran into this again ( i had posted a similar request about a year or so 
ago )

re "But then what do we do on a backend that doesn't have "ilike"? do we 
raise an error? "

would this be possible:

   .filter( User.name.icontains('ADAM') )
   
   supports ilike -- """ WHERE name ilike '%ADAM%' """
   no ilike -- """ WHERE LOWER(name) like LOWER('%ADAM%') """ [ or """ 
WHERE LOWER(name) like '%adam%' """ ]


at least i think most backends support LOWER on evaluation.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to