[Zope] Double quote in ZSQL Method
Chris Withers
chris at simplistix.co.uk
Tue Feb 21 03:29:35 EST 2006
Andrew Milton wrote:
> | In a ZSQL Method, I have tablename.<dtml-sqlvar species type="string">
> | and I get tablename.'species_value', what I need is
> | tablename."species_value". Any idea how I can get Zope/ZSQL to not
> | put in the single quotes (or use double quotes)?
> |
>
> tablename.<dtml-var species>
>
> Don't use sqlvar except for things you want quoted.. use dtml-var
Surely with this he won't get _any_ quotes? The guy's after double
quotes for some unfathomable reason ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list