Many-to-many pattern possiable?
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Sun May 20 15:00:33 EDT 2007
Jia Lu a écrit :
> Hi all
>
> I see dict type can do 1-to-1 pattern, But is there any method to do
> 1-to-many,
a dict of lists
> many-to-1
What's the difference with 1-n ?
> and many-to-many pattern ?
As usual, using an intermediate dict.
> What about using some
> Serialized objects?
What for ?
Anyway, if you're after a relational model, better to use some
relational db, possibly with SQLAlchemy on top.
More information about the Python-list
mailing list