These are the simple types and their default values:

uint - 0
int - 0
Number - NaN
String - null
Boolean - false

I still do
not get your problem. In your database a representation of a boolean
would be a bit type. Which means that it's either true or false. You
could
look at your problem in antother way. A boolean should have two
values, that's what the term suggests. Your database however adds
another value: NULL. This is kinda strange. You could set the field in
your database to NOT NULLABLE and declare a default value. The field
in the database should represent something that is either true or false.

I hope this last bit makes any sense, quite hard to tell in a language which
is not your own.


Greetz Erik

Reply via email to