[Zope] Testing for NULL in ZSQL results

Wade Leftwich wade@lightlink.com
Wed, 6 Jun 2001 08:08:00 -0400


Hello,

I've got a Python script that calls an SQL method. Some of the returned rows
may contain NULL values. How do I test for those? Right now I'm using
same_type() to check a value against the datatype of the column. Wondering
if there's a better way.

Thanks

Wade Leftwich
Ithaca, NY