-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos Sanchez wrote: > Hi, > > I was wondering if there is an official API and/or a way to iterate > through all objects in a ZODB database. I found an implementation at > https://mail.zope.org/pipermail/zodb-dev/2002-October/003483.html, > but I was wondering if there are more recent solutions. > > We are using RelStorage (MySQL) and ZEO (4 Dev) >
I doubt that there is such an API since every object can theoretically implement its own storage and traversal strategy. In particular every class can store data in subobjects or attributes that are not directly available through an API. Zope-ish applications use a dict approach but even this won't give you all and everything out of the box. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJUIPajAAoJEADcfz7u4AZjv8sLv0nQjIL9/GJTlwBFzGVOrE0v f8iTUhcwnsNdTYXEIOZyBm5LF5BGl/8tMyuGoE2FFdjfZKFcAT8dakO+7PF18411 MA+TRScWbMscj+ekpqOFZIdAP0E4vJ4ZN4Ao/fsGLtsW/jjnqDhqWV0uPVf3bUU6 51aqai+vHxehuHhhM7rmoal9eFIn70JnWkPA4luqcGNNeQLZUWiP41SAlbxu2VmY xXvZuiApkYSK9eMsWTfeqftWHjsWFogvRBvgT9vAU2V6Q0W7v1AAlcWsiPIT4sgf WBwC8MF9gTNW51bExlellQ0hl00LgeEWgj5byW4cqZBUrMF+jAwxRmpK7h5f17+T G5uI92f05WebOJxPZGUcbbzkfBsu0I7Oy7F8SYNAuaKNoaZd+bggvmQI+5P5Z4NP R4XnY2iQa70RVd3v9jywYJtR2ujUqmrg5rEBSvoPm5wUN3UjBK75QwLc9nZwQfgJ Gyry0IBOACmvNJjGNcJQ1QcQymFqE2E= =eyV6 -----END PGP SIGNATURE----- _______________________________________________ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev