On 7/20/06, Michael Bayer <[EMAIL PROTECTED]> wrote:
> theres a generic operator function you can use via:
>
>         table.c.column.op('~')('foo')

I wonder if this should be formalized. I'm deploying on postgres but I
want to test on sqlite, both of which support regular expressions,
just with slightly difference syntax ("~" vs. "regexp"), and those are
probably not the only two databases that support regexes.

It looks like I may be able to override the behavior in the compiler,
but I'm not sure that's the best thing to do.

Kevin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to