Hello everyone,

I have a table of Features. Simple enough for basic usage, but what if I 
wanted Features to provide and require other Features? Akin to RedHat's 
RPM packages that "provide" and "require" capabilities?

E.g. I would have AntiSpam feature that requires EmailServer feature and 
provides SpamAsssassin feature.

So I would want Feature class to contain "provides" collection that 
would be a list of other Features provided, and "requires" collection 
that would be a list of other Features required.

In principle, this could be nicely done in SQLA with self-referential 
many-to-many relation. But is it possible in SQLA? Or would SQLA data 
structures just lock up with such circular references?

Caveats? Special things to account for?

Regards,
mk



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