Hi Michael,

Didn't see this one before my last post.

On 09/04/2013 16:19, Michael Bayer wrote:
1. is Winracku.combrack intended to be many-to-one or one-to-many ?
One to many, in other words just to make sure that I don't mess up terminology, "w1" can have many children but the children only have one parent.
2. Given w1, w2:

w1 = Winracku()
w2 = Winracku()
w1.combrack = w2

which one are you deleting first, and what is the desired behavior as a result?

w1 = Winracku()
w2 = Winracku()
w3 = Winracku()
w1.combrack.append(w2)
w1.combrack.append(w2)

delete w1, currently I don't allow deletion of "w2" or "w3"

Werner

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to