[Zope-DB] Using <dtml-var>s in ZSQL methods?

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Mon Jun 18 01:42:06 EDT 2007


> P.S.  I know that <dtml-var...> rather than <dtml-sqlvar...> is an
> unorthodox and apparently undocumented construct to use within a ZSQL
> definition.  But I need it because <dtml-sqlvar...> malformats the string.
>   
What do you mean by 'malformats the string'?
Have you tried dtml-sqltest clause? It may be used to do
'where colname in ....' statements.

-- 
Maciej Wisniowski


More information about the Zope-DB mailing list