Tommy Li wrote:
Great. So when I store the parent node of a tree structure into zodb, all the children get recursively stored?


Yes.

Or do I need to manually store each of these Persistent subobjects?

No. But having your node class inherit from Persistent will mean that altering a node doesn't cause the whole tree to be re-saved.

Is there a specific order I need to store the parent and child in?

No.

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to