Subject | Re: NULL and equality |
---|---|
Author | peter_jacobi.rm |
Post date | 2004-05-28T18:23:17Z |
In firebird-support@yahoogroups.com, "Martijn Tonies" wrote:
grano salis corresponds to a C NULL pointer.
So of course, the intended (and part of the actual
semantics) doesn't match SQL NULL. (It may be argued
that it is a rather good matched for NULLs created
by JOIN)
kinterbasedb, or generally speaking the Python
DBMS API returns None for SQL NULL. I judge it
less clumsy than a seperate boolean flag.
Regards,
Peter Jacobi
> > foo == None # allowed, but slowerNone is a special Singleton object which cum
> > foo is None # preferred
>
> But, what does "none" mean in this case?
grano salis corresponds to a C NULL pointer.
So of course, the intended (and part of the actual
semantics) doesn't match SQL NULL. (It may be argued
that it is a rather good matched for NULLs created
by JOIN)
kinterbasedb, or generally speaking the Python
DBMS API returns None for SQL NULL. I judge it
less clumsy than a seperate boolean flag.
Regards,
Peter Jacobi