i would just do it the way SelectResultsExt does it in
selectresults.py, using select_whereclause to actually query the DB.

I see how this would work  if I called 
>>> session.query(User).select(whereclause)
but if I do
>>> u = User.get(1)
>>> u.groups
then it issues a select that doesn't go to the mapper extension. Where can I intercept this call?

-Michael
-------------------------------------------------------------------------
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
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to