[Zope-DB] How lunch SQL request from python script ?

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Fri Jan 19 07:27:47 EST 2007

Please, stay on the list :)

First, isn't Charlie Clark solution good for you? It seems to be
> I have try to use external method but without success... (I have read some post as you suggested it)
Create database connection object called 'myconnection' in ZMI and
connect it to your database.
Create external method like:

def callSQL(self, statement):
     conn = self.myconnection()
     return conn.query(statement)

Maciej Wisniowski

More information about the Zope-DB mailing list