[Zope] Z SQL Method

Martin Jundt martin.jundt@zsp.uni-ulm.de
Tue, 30 Jan 2001 15:22:48 +0100


Hi there,

I have got a litte problem with a Z SQL Method "sql_example":

	select count(*) as result from example_DB

I want to put the returned result in a variable:

     <dtml-in sql_example>
         <dtml-call "REQUEST.set('my_var', result)">
    </dtml-in>

This works fine.But should something like 

	<dtml-call "REQUEST.set('my_var', ['sql_example'])">

work, too?

Thanks
Martin