[ZODB-Dev] Getting all OIDs from a storage.

Christian Theune ct at gocept.com
Mon Apr 24 10:57:05 EDT 2006


Hi,

Am Montag, den 24.04.2006, 10:48 -0400 schrieb Jim Fulton:
> Christian Theune wrote:
> > 
> > Hmm. Sorry, but could you point out where the API is defined? I might
> > not have looked hard enough. I only found internals to exploit. :(
> 
> I wish I could.  I'm almost certain that Chris McDonough implemented
> one at PyCon 2005 and that Stephan Richter made use of this, but
> I can't find it.

I thought that as well, but couldn't find anything either. Chris: What
did you do, hiding behind your display, back in Washington? =)

> I would like to have this.  I can't find a proposal for it, so I
> guess we should start with that,  I'll note that I'd like to have an
> interface like:
> 
>    oidIterator(class_glob='*')
> 
>       Returns an iterable of object ids whose dotted class names
>       (module_name.class_name) match the given glob.

Matches my use case perfectly. 

-- 
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20060424/dca94f38/attachment.bin


More information about the ZODB-Dev mailing list