By traversing the *whole* ZODB hierarchy (expensive!):
lst = context.ZopeFind(obj_metatypes=[zsql_metatype], search_sub=1) or possibly lst = context.superValues(zsql_metatype)depending on your usecase...replace 'zsql_metatype' with the corresponding metatype for ZSQL method (look at the sources).
-aj --On 22. Dezember 2005 14:05:19 +0100 Fabio <[EMAIL PROTECTED]> wrote:
Hi! I need to get all SQL Methods defined in Zope from python script. How can I do? Thanks, Fabio -- Dott. Fabio Marcone 2T srl Telefono +39 - 0871- 540154 Fax +39 - 0871- 571594 Email [EMAIL PROTECTED] Indirizzo Viale B. Croce 573, 66013 Chieti Scalo (CH) _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
pgp6ykW93EsWD.pgp
Description: PGP signature
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )