I know about the boolean
column type, but is there a boolean
literal in SQLite? In other languages, this might be true
There is no boolean data type. There are only 5 types, listed here. Integers can be stored with various widths on disk, the smallest being 1 byte. However, this is an implementation detail:
"But as soon as INTEGER values are read off of disk and into memory for processing, they are converted to the most general datatype (8-byte signed integer)."
Given that, it is not surprising there are no boolean literals.