thanks a lot. That's the solution.
2007/11/6, Marco Mariani <[EMAIL PROTECTED]>:
>
> lur ibargutxi wrote:
>
> I forgot. Try using tables instead of classes that are not mapped yet..
>
> mappers['groupgroups'] = mapper(GroupGroups, tables['groupgroups'],
> properties = {
>
> 'idindicatorgroupcontainer' : relation(IndicatorGroups,
> primaryjoin=sql.and_(tables['indicatorgroups'].c.idindicatorgroup==tables['groupgroups'].c.idindicatorgroupcontainer)),'idindicatorgroupcontained'
> : relation(IndicatorGroups,
> primaryjoin=sql.and_(tables['indicatorgroups'].c.idindicatorgroup==tables['groupgroups'].c.idindicatorgroupcontained)),
> },allow_column_override=True)
>
>
>
>
> >
>
--
Lur Ibargutxi
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---