[Zope] ZSQL: how to definde null
Dieter Maurer
dieter at handshake.de
Tue Oct 21 16:32:58 EDT 2003
Christoph Landwehr wrote at 2003-10-21 00:57 +0200:
> I have a ZSQL method, that looks like
>
> Attributes:
> some_name='empty'
>
> UPDATE
> foo
> SET
> bar = <dtml-sqlvar some_name type="string">
> WHERE
> some contitions ... ;
You can try the "optional" attribute for "dtml-sqlvar".
You might need to use "type=nb" (non blank) rather than "type=string".
Dieter
More information about the Zope
mailing list