[Zope] zsql-Methods: how to make a dynamic where-clause?
Elena Schulz
elena.schulz at gmx.net
Sat Aug 9 11:36:32 EDT 2003
Hi Babu,
thanks for your hints:
> <dtml-var sequence-item> = '<dtml-var "params[_['sequence-value']]">'
Because of security reasons I'll try if it works with dtml-sqlvar, too or
I'll use the sql_quote attribute (or fmt=sql-quote).
My question with sqlvar is, is there a way to change the type=whatever
dynamically?
> you can extend this to check for types, different condition joiners etc.
then this would be more elegant.
-- Elena
More information about the Zope
mailing list