[Zope] database connections from external method
    J Cameron Cooper 
    zope-l at jcameroncooper.com
       
    Wed Oct 19 13:00:35 EDT 2005
    
    
  
Vangelis Mihalopoulos wrote:
> 
> Tino Wildenhain wrote:
> 
>> The threading is handled by the ZDA, so you can use query() or what
>> the method actually is.
> 
> 
> I couldn't find a method like that... any hints?
It is indeed the 'query' method, which you pass a string with SQL.
It comes from Zope/lib/python/Shared/DC/ZRDB/dbi_db.py, inherited 
through a long path.
You might also look at ExtZSQLMethod.
http://www.zope.org/Members/jccooper/extzsql
		--jcc
-- 
"Building Websites with Plone"
http://plonebook.packtpub.com/
Enfold Systems, LLC
http://www.enfoldsystems.com
    
    
More information about the Zope
mailing list