On Feb 20, 2006, at 11:34 AM, Michael Bayer wrote:
currently there is no "wrapping of properties" going on, SA sets its own property-like object which replaces one that was already there.

so you just need to operate upon a different property name, usually "_attr", and tell your mapper about the alternate column mapping like this:

m = Mapper(Entity, entities, properties = {
        '_attr': entities.c.attr
})

That should work. Thanks for the quick response.

~ Daniel


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to