Re: RE : How lunch SQL request from python script ?
Maciej Wisniowski <[email protected]>
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <[email protected]> |
Please, stay on the list :)
First, isn't Charlie Clark solution good for you? It seems to be
reasonable.
> 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