+-------[ michael nt milne ]----------------------
| thanks. Is there an example or a tutorial at all on this anywhere?

# queryConnection holds the id of a DA

connectionObject=getattr(self, queryConnection)
connection = connectionObject()
results = connection.query(SQL_GOES_HERE)

This is from Product code, it should be usable (s/self/context/) in a
PythonScript, but, I haven't tested it.

Andrew Milton
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to