DatabaseReadDbNull

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Marlin
Enthusiast
Enthusiast
Posts: 406
Joined: Sun Sep 17, 2006 1:24 pm
Location: Germany

DatabaseReadDbNull

Post by Marlin »

As the GetDatabase*() functions can only be called once per column,
we could have something like a function or flag that would
indicate, if the last value read with GetDatabase*()
was DbNull.

This way we could have an easy way to determine DbNull values
without a need of big changes to existing functions
and without the need for some special sql constructs,
that would show us the DbNull state of a neighbor value.