Hi All,

Needing help badly. Summarizing my problem: I need to run some
initialization code after an object is retrieved from database. Say I
have a table Person(first_name, last_name), I need that while the
object is fetched, another instance variable named full_name is
assigned as firstname + last_name.

Tried to use MapperExtension by going through the suggestions in some
threads, in the FAQ and the doc, but could not secceed. Also, could
not find out how to use __new__ in this scenario. Surely my
noviceness, either in Python or SQLAlchemy.

Some sample code or specific guidence could help a lot.

thanks
Sanjay


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to