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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to