well, OK, but if they support regexps, is the syntax of the underlying regexp the same also ? else theres not much point in a "generic" function for it.
On Jul 20, 2006, at 1:25 PM, Kevin Dangoor wrote: > 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