On 10/11/07, jason kirtland <[EMAIL PROTECTED]> wrote:
>
> Jim Musil wrote:
> > I don't see support for RLIKE, NOT RLIKE, or REGEXP anywhere.
> >
> > Is there support for this?
>
> Yes, you can use these operators and any others via the .op() method:
>
> table.c.col1.op('rlike')('re')
> not_(table.c.col1.op('rlike')('re'))
> table.c.col1.op('regexp')('re')
As a a remark, ilike also is accessed in this way.
--
Eric
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---