QUOTE (clyde @ July 01, 2013 05:47 pm) |
However, in Sqlite queries it does recognize the value 1 as "True" and 0 as "False" (which are the corresponding values that GSAK enters for this data type) . |
Also note that Sqlite is not strictly typed (even for Integer type values it does not *force* the value to be integer)
So if we are to be pendantic that paragraph should read:
QUOTE |
Sqlite queries recognize the value 0 or "" (empty string) as False and all other values as True |
... and the purists will also tell me this doesn't apply to NULL values, but as the GSAK database has constraints to prevent NULL values I won't confuse things by saying how these are treated for Boolean queries.