Am Dienstag, den 17.10.2006, 13:58 +0200 schrieb Christoph Zwerschke:
> If I understand it correctly, when I do
> 
> mapper(User, users_table)
> 
> then User will have properties corresponding to all columns of the
> users_table. When I want to add an addresses property, I do:
> 
> mapper(User, users_table, properties = {
>         'addresses' : relation(Address)})
> 
> But then, all the other columns are not mapped any more. Is it possible
> to only *add* the 'addresses' property, keeping all the table columns as
> properties?

This should normally be done, that all other properties are still there.

Try to make an example script where you have problems, which we can run
if you have troubles here.

Martin


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

Reply via email to