What's a connection hook when it's at home?
I've got many MailManager instances that I want to connect to different databases. Normally you have to specify the database connection id in the zsql method, but the connection hook lets you define a method which returns a connection id.
IS this part of normal non-FS ZSQL method?
So each of my instances can define a method 'getConnectionId' which returns the appropriate connection id for that instance.
Why not just put the connection in your instance and give it a standard name?
cheers,
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests