[ZODB-Dev] Feature Request 2381 : Persistent object iterator in Storage

Barry A. Warsaw barry@digicool.com
Mon, 9 Jul 2001 10:21:59 -0400


>>>>> "GW" == Greg Ward <gward@mems-exchange.org> writes:

    GW> Or should we all start using the module Barry posted?  Is that
    GW> module going to be added to an official ZODB distribution one
    GW> of these days?  Andrew, should it maybe be added to your
    GW> unofficial distribution?

I don't think it /needs/ to be added, since as a scarecrow interface
it's just documentation.  But it couldn't hurt.  Jim had a reason for
not adding it, but I forget what that was (maybe the interface isn't
set in stone?).

In any event, both FileStorage and bsddb3Storage support the interface
now, and it should provide a means to touch every object in the
database.  It's used as a failsafe to copy the contents of one
storage to another (say, from a bsddb3Storage to a FileStorage).

-Barry