[ZODB-Dev] Re: Navigating inherently hierarchical data
Chris Withers
chris at simplistix.co.uk
Mon Aug 6 04:23:39 EDT 2007
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
More information about the ZODB-Dev
mailing list