[Zope-DB] Re: How to call a zsql method with NOT a parameter

Axel Straschil axel at straschil.com
Mon Jan 31 14:31:48 EST 2005


Hallo!

>>Maybe, ZSQL is not the best joice for me, when I've got to say the
>>method what not to do, I'm afraid to forget something ... also I can't
>>add another parameter later without changing all calls to the method.
> In principle, parameters to ZSQL Methods can take default values.
> They somehow look like "parameter=value".

If I don't want a parameter to be used in an dtml-sqlgroup section, an
default woul'd not help ;-)
Also, afaik, parameter=None in zsql gives not None, it gives 'None'.

Lg,
AXEL.



More information about the Zope-DB mailing list