[Zope] dynamically generating sql queries?