Hi !! 

I wonder what could be the best way to force the SQLObject.select() method to 
do selectBy(field='value') always

For example take this:

class myPeople(SQLObject):
        name = StringCol()
        age = IntCol()
        vip = EnumCol(default='yes', enumValues=['yes','no'])

i want do myPeople.select() and get myPeople.selectBy(vip='yes') always
it's like define that every query to myPeople only retrieve the vip people !

Maybe override the select() method of the class ??
Any ideas ?? 

Thanx


-------------------------------------------------------
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