[Zope] how to generically get a list of tables and columns from a db connector

Elena Schulz elena.schulz at gmx.net
Thu Aug 7 12:15:57 EDT 2003


Hi,

the browse-tab of db connectors offer a listing of tables and columns.

How can I access this in python script independent of the db
connection(without a sql-query or zsql_method). In the class db.py under
class db there is a tables() and columns() method but I didn't find a way of
accessing them in  a script yet.

Also a query() method should be possible to circumvent zsql-Methods more
flexibly?

Does anybody know the how to?

-- Elena




More information about the Zope mailing list