[Zope] Double quote in ZSQL Method

Andrew Milton akm at theinternet.com.au
Tue Feb 21 05:16:01 EST 2006


+-------[ Chris Withers ]----------------------
| 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 ;-)

Well he said no quotes OR double quotes

I didn't think I'd need the sock puppets for him to work out how to get the
double quotes d8)

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list