[Zope-DB] Error Value: 'in' or 'not in' needs sequence right
argument
Bo M. Maryniuck
b.maryniuk at forbis.lt
Thu Apr 22 05:34:06 EDT 2004
Hi.
On Thursday 22 April 2004 10:24, hawelek_tlen wrote:
> I want to use ZSQLMethod dynamic
Even better. Why not to generate it in PythonScript and
let ZSQLMethod eat it?
E.g.:
PythonScript [dynsql]:
-----------------8<------------------
... code here ...
return "SELECT FOO FROM BAR WHERE FOO = %s" % mydynamicvaluefromsomewhere
-----------------8<------------------
ZSQLMethod [sample]:
-----------------8<------------------
<dtml-var dynsql>
-----------------8<------------------
DTML result [index_html]:
-----------------8<------------------
<dtml-in sample>
* <dtml-var FOO><br />
</dtml-in>
-----------------8<------------------
..?
--
Regards, Bogdan T. M. Maryniuck
System programmer, Forbis UAB
More information about the Zope-DB
mailing list