[ZODB-Dev] Feature Request 2381 : Persistent object iterator in Storage
Neil Schemenauer
nascheme@mems-exchange.org
Mon, 9 Jul 2001 09:42:45 -0400
On Mon, Jul 09, 2001 at 09:32:27AM -0400, Greg Ward wrote:
> get_database() simply returns our sole global instance of ZODB.DB.
> objectCount() is a method of ZODB.DB, so I didn't have to code anything
> there.
Object IDs are not contiguous. Say 1, 3, and 4 are oids of the objects
in the DB. objectCount() would return 3. Your script does not examine
object 4.
Neil