[PyKDE] Postgres, Qsqlfield and setNull()

César González cesar at eureka-sistemas.com
Tue Sep 16 12:29:00 BST 2003


Hi everybody ;)

	I am developing an interface for a postgres database with PyQT and i having 
problems setting values to NULL from PyQT :

	self.dataBrowser1.sqlCursor().editBuffer().field("stock").setNull()

This set field "stock" to zero instead NULL.

Is this a bug in PyQT bindings or should i go to the qt mailing list with the 
question?

I have Debian Sid, postgres 7.3.4, qt 3.2.1 and PyQt 3.8.

Thanks,

-- 
César González Revilla
Eureka Sistemas
http://www.eureka-sistemas.com/
cesar at eureka-sistemas.com
Gnupg Public Key 
http://www.eureka-sistemas.com/keys/cesar.asc




More information about the PyQt mailing list