[ZODB-Dev] List of references to all objects from ZODB?

Toby Dickenson tdickenson@geminidataloggers.com
Tue, 5 Nov 2002 10:40:58 +0000


On Monday 04 November 2002 7:45 pm, Magnus Lycka wrote:

> So, the key fields in storage._index are OIDs, and the values are...?

FileStorage file seek positions.

> Does other storages have this attribute as well?

no

> Now there is one major thing that I've never managed to figure
> out. How do I get from OID to object reference=20

object =3D storage.load(oid)

> or vice versa?

oid =3D object._p_oid