Kevin,
did you already look at
http://www.sqlalchemy.org/docs/05/mappers.html#adjacency-list-relationships
?
By default, as the doc says, one-to-many is assumed. You want the
backref (parentdir) to be a scalar, so you probably have to specify
"remote_side".
 Ruben
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to