[Zope-dev] dtml-sqlvar, should it insert 'null' if variable is None ?

Christian Theune ct@gocept.com
Tue, 31 Jul 2001 16:11:44 +0200


--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi. In my oppinion, dtml-sqlvar is supposed to quote and prepare
date for sql database. Therefore I think it should change None
values into null, as it does with the optional tag, when values
are omitted, but not when they are None.

Any comments on that?

--=20
Christian Theune - ct@gocept.com
gocept gmbh & co.kg - schalaunische strasse 6 - 06366 koethen/anhalt
tel.+49 3496 3099112 - fax.+49 3496 3099118 mob. - 0178 48 33 981

reduce(lambda x,y:x+y,[chr(ord(x)^42) for x in 'zS^BED\nX_FOY\x0b'])

--TB36FDmn/VVEgNH/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE7ZryfdUt9X/gknwIRAnOaAJ9HPel/VIrY2eWDqy34triB8bSRlACfbf8y
UnAHAYJs3KS0WSt6jEWjNy8=
=Bzwo
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--