[Zope-dev] sqlvar and longs

Christian Theune ct@gocept.com
Wed, 6 Mar 2002 10:12:43 +0100


Howdi.

On Wed, Mar 06, 2002 at 09:24:04AM +0100, Andre Schubert wrote:
> Hi all,
> 
> I have a little question on <dtml-sqlvar ...>.
> My problem is, that i want to insert values into a table and the type of
> the values
> are integer8.
> I tried with <dtml-sqlvar foo type="long"> but it doesnt work.
> How can i use <dtml-sqlvar> with longs?
> Will this feature be added in further versions?
> Is there a product which patches this problem? If not i would write such
> a thing myself.

hmm. currently sqlvar only has knowledge of int, but this is a difference to long
in python. i will add this to the sqlvar and sqltest and mail you the diff, as well
put this in the tracker.

Greetings

Christian

-- 
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'])