[Zope-DB] Dynamically generate sql-query in ZSQL Method
hawelek at tlen.pl
Tue Apr 6 15:53:24 EDT 2004
I'm beginner in Zope,
I want to generate dynamically sql-query in ZSQL Method,
exactly i want to give whole sql-query like parameter to ZSQL Method for example in DTML Method,
for example I have clear ZSQL Method with id tempQuery and table Person with fields 'id' and 'name'
I want to execute:
select * from person
so I tried something like this, but it doesn't work
<dtml-in expr="tempQuery('select * from person')">
how can I do dynamic ZSQL Method?
thanks for help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Zope-DB