Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75098

custom field and OR in filter by clyde - 2013-07-01

$
0
0
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.

Viewing all articles
Browse latest Browse all 75098

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>