[Zope] ZMysqlDA and type=text

Hannu Krosing hannu@tm.ee
Wed, 12 Apr 2000 18:50:22 +0300


Jorge Magalhaes wrote:
> 
> I try build a query like:
> 
> arguments: NAME DESCRIPTION
> 
> Insert into tablename (description, name)
> values(
> <dtml-sqlvar NAME type=string>,
> <dtml-sqlvar DESCRIPTION type=text>)
> 
> don't work because type=text
> 
> how i can fix it?

use type=string, they look the same in a query ;)

afaik there are only 3 types 'int','float','string' and'nb' 
(for a stringh that must be entered as NULL if empty)

------------
Hannu