
maciej.wisniowski at coig
Jan 19, 2007, 4:27 AM
Views: 1163
Permalink
|
|
Re: RE : How lunch SQL request from python script ?
|
|
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 _______________________________________________ Zope-DB mailing list Zope-DB[at]zope.org http://mail.zope.org/mailman/listinfo/zope-db
|