On 9/12/06, Mark, Jonathan (Integic) <[EMAIL PROTECTED]> wrote:
In Oracle it is easy to get a listing of everything
that is in the Oracle database. One simply queries the
system view dba_objects.
Is there anything similar for the Zope 2.62 ZODB?
ZODB is an hierarchical object database. So, yes, there is and no there isn't.
You can't just make a query and get all the data, the data is stored as objects.
On the other hand, getting tha data is dead easy, although you don't
make a query. You just write python. For example, to get all the
subobjects for a particular object, you write
subobjects = the_object.objectValues()
Do that recursively, and you pretty much get all the objects you would
be interested in. Then you need to understand each object type, but
that's another thing. ;-)
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -