Short answer, no.

Think about it this way.

In a simple 1:n relationship,  each child has a pointer to the parent. In a
m:n relationship, each child must have a pointers to many parents and those
pointers must live somewhere. In a relational database, there is no way to
store an arbitrary number of parent pointers in a child record; that leads
to the requirement for an association table. No other way to do it.

SQLAlchemy cannot change the data modeling needed here, but constructs
available in SA can make the coding easier for managing the association
table.


Mike Conley

--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to