On Tue, May 09, 2006 at 10:05:46AM -0600, Sherman Lambert wrote:
> SELECT * 
> FROM indices
> WHERE search_key ~ '^x2x[0-9]{1,2}z'
> ORDER BY id;

from sqlobject.sqlbuilder import RLIKE
Indices.select(RLIKE(Indices.q.searchKey, '^x2x[0-9]{1,2}z'))

   RLIKE has been added to SQLObject after 0.7 so you have to download
SQLObject from SVN or use my unofficial tarballs.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to