ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zodb-dev
zodb-dev
Re: [ZODB-Dev] List of references to all objects from ZODB?
by Toby Dickenson other posts by this author
Nov 5 2002 10:40AM messages near this date
Re: [ZODB-Dev] List of references to all objects from ZODB? | [ZODB-Dev] ZODB 3.1
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 

object = storage.load(oid)

>  or vice versa?

oid = object._p_oid

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@[...].org
http://lists.zope.org/mailman/listinfo/zodb-dev
Thread:
Magnus Lycka
Greg Ward
Jeremy Hylton
Magnus Lycka
Toby Dickenson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved